共用方式為


ITracer.TraceWarning Method

Definition

Overloads

TraceWarning(String, Object[])

Traces a warning event.

TraceWarning(String)

Traces a warning event with the specified message.

TraceWarning(String, Object)

Traces a warning event with the specified message and argument.

TraceWarning(String, Object, Object)

Traces a warning event with the specified message and arguments.

TraceWarning(String, Object[])

Traces a warning event.

public:
 void TraceWarning(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void TraceWarning (string message, params object[] args);
abstract member TraceWarning : string * obj[] -> unit
Public Sub TraceWarning (message As String, ParamArray args As Object())

Parameters

message
String

The message to display

args
Object[]

The arguments to format into the message

Applies to

TraceWarning(String)

Traces a warning event with the specified message.

public:
 void TraceWarning(System::String ^ message);
public:
 void TraceWarning(Platform::String ^ message);
void TraceWarning(std::wstring const & message);
public void TraceWarning (string message);
abstract member TraceWarning : string -> unit
Public Sub TraceWarning (message As String)

Parameters

message
String

The message.

Applies to

TraceWarning(String, Object)

Traces a warning event with the specified message and argument.

public:
 void TraceWarning(System::String ^ message, System::Object ^ arg0);
public:
 void TraceWarning(Platform::String ^ message, Platform::Object ^ arg0);
void TraceWarning(std::wstring const & message, winrt::Windows::Foundation::IInspectable const & arg0);
public void TraceWarning (string message, object arg0);
abstract member TraceWarning : string * obj -> unit
Public Sub TraceWarning (message As String, arg0 As Object)

Parameters

message
String

The message.

arg0
Object

The argument.

Applies to

TraceWarning(String, Object, Object)

Traces a warning event with the specified message and arguments.

public:
 void TraceWarning(System::String ^ message, System::Object ^ arg0, System::Object ^ arg1);
public:
 void TraceWarning(Platform::String ^ message, Platform::Object ^ arg0, Platform::Object ^ arg1);
void TraceWarning(std::wstring const & message, winrt::Windows::Foundation::IInspectable const & arg0, winrt::Windows::Foundation::IInspectable const & arg1);
public void TraceWarning (string message, object arg0, object arg1);
abstract member TraceWarning : string * obj * obj -> unit
Public Sub TraceWarning (message As String, arg0 As Object, arg1 As Object)

Parameters

message
String

The message.

arg0
Object

The first argument.

arg1
Object

The second argument.

Applies to