ITraceWriterExtensions.Info Method
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Info(ITraceWriter, HttpRequestMessage, String, Exception) | Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions. |
![]() ![]() | Info(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) | Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions. |
![]() ![]() | Info(ITraceWriter, HttpRequestMessage, String, String, Object[]) | Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions. |
ITraceWriterExtensions.Info Method (ITraceWriter, HttpRequestMessage, String, Exception)
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
public static void Info( this 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.Info Method (ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
public static void Info( this ITraceWriter traceWriter, HttpRequestMessage request, string category, Exception exception, string messageFormat, params 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:
System.Object[]
The message argument.
ITraceWriterExtensions.Info Method (ITraceWriter, HttpRequestMessage, String, String, Object[])
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
public static void Info( this ITraceWriter traceWriter, HttpRequestMessage request, string category, string messageFormat, params 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:
System.Object[]
The message argument.

