共用方式為


Tracer.TraceWarning Method

Definition

Overloads

TraceWarning(String)

Traces a warning event.

TraceWarning(String, Object)

Traces a warning event.

TraceWarning(String, Object[])

Traces a warning event.

TraceWarning(String, Object, Object)

Traces a warning event.

TraceWarning(String)

Traces a warning event.

public:
 virtual 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
override this.TraceWarning : string -> unit
Public Sub TraceWarning (message As String)

Parameters

message
String

The message.

Implements

Applies to

TraceWarning(String, Object)

Traces a warning event.

public:
 virtual 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
override this.TraceWarning : string * obj -> unit
Public Sub TraceWarning (message As String, arg0 As Object)

Parameters

message
String

The message.

arg0
Object

The argument.

Implements

Applies to

TraceWarning(String, Object[])

Traces a warning event.

public:
 virtual void TraceWarning(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void TraceWarning (string message, params object[] args);
abstract member TraceWarning : string * obj[] -> unit
override this.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

Implements

Applies to

TraceWarning(String, Object, Object)

Traces a warning event.

public:
 virtual 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
override this.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.

Implements

Applies to