ITracer.TraceError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TraceError(String, Object[]) |
Traces an Error event. |
TraceError(String, Object, Object) |
Traces an Error event with the specified message and arguments. |
TraceError(String) |
Traces an Error event with the specified message. |
TraceError(String, Object) |
Traces an Error event with the specified message and argument. |
TraceError(String, Object[])
Traces an Error event.
public:
void TraceError(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void TraceError (string message, params object[] args);
abstract member 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
Applies to
TraceError(String, Object, Object)
Traces an Error event with the specified message and arguments.
public:
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
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.
Applies to
TraceError(String)
Traces an Error event with the specified message.
public:
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
Public Sub TraceError (message As String)
Parameters
- message
- String
The message.
Applies to
TraceError(String, Object)
Traces an Error event with the specified message and argument.
public:
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
Public Sub TraceError (message As String, arg0 As Object)
Parameters
- message
- String
The message.
- arg0
- Object
The argument.