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.Debug Method

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDebug(ITraceWriter, HttpRequestMessage, String, Exception)

Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception.

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

Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.

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

Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.

Return to top

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 static void Debug(
	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.Debug Method (ITraceWriter, HttpRequestMessage, String, Exception, String, 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 static void Debug(
	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.Debug Method (ITraceWriter, HttpRequestMessage, String, String, 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 static void Debug(
	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: