Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITraceWriterExtensions.Info Method

 

Namespace:   System.Web.Http.Tracing
Assembly:  System.Web.Http (in System.Web.Http.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticInfo(ITraceWriter, HttpRequestMessage, String, Exception)

Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.

System_CAPS_pubmethodSystem_CAPS_staticInfo(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])

Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.

System_CAPS_pubmethodSystem_CAPS_staticInfo(ITraceWriter, HttpRequestMessage, String, String, Object[])

Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.

Return to top

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.

Return to top

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.

Return to top

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.

Return to top
Show: