共用方式為


Tracer.TraceError Method

Definition

Overloads

TraceError(String, Object, Object)

Traces an error event.

TraceError(String, Object[])

Traces an Error event.

TraceError(String, Object)

Traces an error event.

TraceError(String)

Traces an error event.

TraceError(String, Object, Object)

Traces an error event.

public:
 virtual void TraceError(System::String ^ message, System::Object ^ arg0, System::Object ^ arg1);
public:
 void TraceError(Platform::String ^ message, Platform::Object ^ arg0, Platform::Object ^ arg1);
void TraceError(std::wstring const & message, winrt::Windows::Foundation::IInspectable const & arg0, winrt::Windows::Foundation::IInspectable const & arg1);
public void TraceError (string message, object arg0, object arg1);
abstract member TraceError : string * obj * obj -> unit
override this.TraceError : string * obj * obj -> unit
Public Sub TraceError (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

TraceError(String, Object[])

Traces an Error event.

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

TraceError(String, Object)

Traces an error event.

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

Parameters

message
String

The message.

arg0
Object

The argument.

Implements

Applies to

TraceError(String)

Traces an error event.

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

Parameters

message
String

The message to display

Implements

Applies to