ITraceWriterExtensions::Debug Method
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Debug(ITraceWriter^, HttpRequestMessage^, String^, Exception^) | Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception. |
![]() ![]() | Debug(ITraceWriter^, HttpRequestMessage^, String^, Exception^, String^, array<Object^>^) | Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. |
![]() ![]() | Debug(ITraceWriter^, HttpRequestMessage^, String^, String^, array<Object^>^) | Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. |
ITraceWriterExtensions::Debug Method (ITraceWriter^, HttpRequestMessage^, String^, Exception^)
Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception.
public: [ExtensionAttribute] static void Debug( ITraceWriter^ traceWriter, HttpRequestMessage^ request, String^ category, Exception^ exception )
Parameters
- traceWriter
-
Type:
System.Web.Http.Tracing::ITraceWriter^
The ITraceWriter.
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The HttpRequestMessage with which to associate the trace. It may be null.
- category
-
Type:
System::String^
The logical category of the trace.
- exception
-
Type:
System::Exception^
The error occurred during execution.
ITraceWriterExtensions::Debug Method (ITraceWriter^, HttpRequestMessage^, String^, Exception^, String^, array<Object^>^)
Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.
public: [ExtensionAttribute] static void Debug( ITraceWriter^ traceWriter, HttpRequestMessage^ request, String^ category, Exception^ exception, String^ messageFormat, ... array<Object^>^ messageArguments )
Parameters
- traceWriter
-
Type:
System.Web.Http.Tracing::ITraceWriter^
The ITraceWriter.
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The HttpRequestMessage with which to associate the trace. It may be null.
- category
-
Type:
System::String^
The logical category of the trace.
- exception
-
Type:
System::Exception^
The error occurred during execution.
- messageFormat
-
Type:
System::String^
The format of the message.
- messageArguments
-
Type:
array<System::Object^>^
The message argument.
ITraceWriterExtensions::Debug Method (ITraceWriter^, HttpRequestMessage^, String^, String^, array<Object^>^)
Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.
public: [ExtensionAttribute] static void Debug( ITraceWriter^ traceWriter, HttpRequestMessage^ request, String^ category, String^ messageFormat, ... array<Object^>^ messageArguments )
Parameters
- traceWriter
-
Type:
System.Web.Http.Tracing::ITraceWriter^
The ITraceWriter.
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The HttpRequestMessage with which to associate the trace. It may be null.
- category
-
Type:
System::String^
The logical category of the trace.
- messageFormat
-
Type:
System::String^
The format of the message.
- messageArguments
-
Type:
array<System::Object^>^
The message argument.

