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.

ITraceWriter Interface

 

Represents the trace writer.

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

Public Interface ITraceWriter

NameDescription
System_CAPS_pubmethodTrace(HttpRequestMessage, String, TraceLevel, Action(Of TraceRecord))

Invokes the specified traceAction to allow setting values in a new TraceRecord if and only if tracing is permitted at the given category and level.

NameDescription
System_CAPS_pubmethodDebug(HttpRequestMessage, String, Exception)

Overloaded. Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodDebug(HttpRequestMessage, String, Exception, String, Object())

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

System_CAPS_pubmethodDebug(HttpRequestMessage, String, String, Object())

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

System_CAPS_pubmethodError(HttpRequestMessage, String, Exception)

Overloaded. Displays an error message in the list with the specified writer, request, category and exception.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodError(HttpRequestMessage, String, Exception, String, Object())

Overloaded. Displays an error message in the list with the specified writer, request, category, exception, message format and argument.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodError(HttpRequestMessage, String, String, Object())

Overloaded. Displays an error message in the list with the specified writer, request, category, message format and argument.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodFatal(HttpRequestMessage, String, Exception)

Overloaded. Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodFatal(HttpRequestMessage, String, Exception, String, Object())

Overloaded. Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception, message format and argument.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodFatal(HttpRequestMessage, String, String, Object())

Overloaded. Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and message format and argument.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodInfo(HttpRequestMessage, String, Exception)

Overloaded. Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodInfo(HttpRequestMessage, String, Exception, String, Object())

Overloaded. Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodInfo(HttpRequestMessage, String, String, Object())

Overloaded. Displays the details in the System.Web.Http.Tracing.ITraceWriterExtensions.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTrace(HttpRequestMessage, String, TraceLevel, Exception)

Overloaded. Indicates the trace listeners in the Listeners collection.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTrace(HttpRequestMessage, String, TraceLevel, Exception, String, Object())

Overloaded. Indicates the trace listeners in the Listeners collection.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTrace(HttpRequestMessage, String, TraceLevel, String, Object())

Overloaded. Indicates the trace listeners in the Listeners collection.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTraceBeginEnd(HttpRequestMessage, String, TraceLevel, String, String, Action(Of TraceRecord), Action, Action(Of TraceRecord), Action(Of TraceRecord))

Traces both a begin and an end trace around a specified operation.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTraceBeginEndAsync(HttpRequestMessage, String, TraceLevel, String, String, Action(Of TraceRecord), Func(Of Task), Action(Of TraceRecord), Action(Of TraceRecord))

Overloaded. Traces both a begin and an end trace around a specified operation. (Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodTraceBeginEndAsync(Of TResult)(HttpRequestMessage, String, TraceLevel, String, String, Action(Of TraceRecord), Func(Of Task(Of TResult)), Action(Of TraceRecord, TResult), Action(Of TraceRecord))

Overloaded. Traces both a begin and an end trace around a specified operation. (Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodWarn(HttpRequestMessage, String, Exception)

Overloaded. Indicates the warning level of execution.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodWarn(HttpRequestMessage, String, Exception, String, Object())

Overloaded. Indicates the warning level of execution.(Defined by ITraceWriterExtensions.)

System_CAPS_pubmethodWarn(HttpRequestMessage, String, String, Object())

Overloaded. Indicates the warning level of execution.(Defined by ITraceWriterExtensions.)

Return to top
Show: