ITraceWriterExtensions.Info Method
Namespace: System.Web.Http.Tracing
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
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. |
See Also
ITraceWriterExtensions Class
System.Web.Http.Tracing Namespace
Return to top
ITraceWriterExtensions.Info Method (ITraceWriter, HttpRequestMessage, String, Exception)
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
Syntax
public static void Info(
this ITraceWriter traceWriter,
HttpRequestMessage request,
string category,
Exception exception
)
public:
[ExtensionAttribute]
static void Info(
ITraceWriter^ traceWriter,
HttpRequestMessage^ request,
String^ category,
Exception^ exception
)
static member Info :
traceWriter:ITraceWriter *
request:HttpRequestMessage *
category:string *
exception:Exception -> unit
<ExtensionAttribute>
Public Shared Sub Info (
traceWriter As ITraceWriter,
request As HttpRequestMessage,
category As String,
exception As Exception
)
Parameters
traceWriter
Type: System.Web.Http.Tracing.ITraceWriterThe ITraceWriter.
request
Type: System.Net.Http.HttpRequestMessageThe HttpRequestMessage with which to associate the trace. It may be null.
category
Type: System.StringThe logical category of the trace.
exception
Type: System.ExceptionThe error occurred during execution.
Return to top
ITraceWriterExtensions.Info Method (ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
Syntax
public static void Info(
this ITraceWriter traceWriter,
HttpRequestMessage request,
string category,
Exception exception,
string messageFormat,
params object[] messageArguments
)
public:
[ExtensionAttribute]
static void Info(
ITraceWriter^ traceWriter,
HttpRequestMessage^ request,
String^ category,
Exception^ exception,
String^ messageFormat,
... array<Object^>^ messageArguments
)
static member Info :
traceWriter:ITraceWriter *
request:HttpRequestMessage *
category:string *
exception:Exception *
messageFormat:string *
[<ParamArrayAttribute>] messageArguments:Object[] -> unit
<ExtensionAttribute>
Public Shared Sub Info (
traceWriter As ITraceWriter,
request As HttpRequestMessage,
category As String,
exception As Exception,
messageFormat As String,
ParamArray messageArguments As Object()
)
Parameters
traceWriter
Type: System.Web.Http.Tracing.ITraceWriterThe ITraceWriter.
request
Type: System.Net.Http.HttpRequestMessageThe HttpRequestMessage with which to associate the trace. It may be null.
category
Type: System.StringThe logical category of the trace.
exception
Type: System.ExceptionThe error occurred during execution.
messageFormat
Type: System.StringThe format of the message.
messageArguments
Type: System.Object[]The message argument.
Return to top
ITraceWriterExtensions.Info Method (ITraceWriter, HttpRequestMessage, String, String, Object[])
Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.
Syntax
public static void Info(
this ITraceWriter traceWriter,
HttpRequestMessage request,
string category,
string messageFormat,
params object[] messageArguments
)
public:
[ExtensionAttribute]
static void Info(
ITraceWriter^ traceWriter,
HttpRequestMessage^ request,
String^ category,
String^ messageFormat,
... array<Object^>^ messageArguments
)
static member Info :
traceWriter:ITraceWriter *
request:HttpRequestMessage *
category:string *
messageFormat:string *
[<ParamArrayAttribute>] messageArguments:Object[] -> unit
<ExtensionAttribute>
Public Shared Sub Info (
traceWriter As ITraceWriter,
request As HttpRequestMessage,
category As String,
messageFormat As String,
ParamArray messageArguments As Object()
)
Parameters
traceWriter
Type: System.Web.Http.Tracing.ITraceWriterThe ITraceWriter.
request
Type: System.Net.Http.HttpRequestMessageThe HttpRequestMessage with which to associate the trace. It may be null.
category
Type: System.StringThe logical category of the trace.
messageFormat
Type: System.StringThe format of the message.
messageArguments
Type: System.Object[]The message argument.
Return to top