ITraceWriterExtensions Class

 

Represents an extension methods for ITraceWriter.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.Tracing.ITraceWriterExtensions

Syntax

public static class ITraceWriterExtensions
[ExtensionAttribute]
public ref class ITraceWriterExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ITraceWriterExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ITraceWriterExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Debug(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_static Debug(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_static Debug(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.

System_CAPS_pubmethodSystem_CAPS_static Error(ITraceWriter, HttpRequestMessage, String, Exception)

Displays an error message in the list with the specified writer, request, category and exception.

System_CAPS_pubmethodSystem_CAPS_static Error(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])

Displays an error message in the list with the specified writer, request, category, exception, message format and argument.

System_CAPS_pubmethodSystem_CAPS_static Error(ITraceWriter, HttpRequestMessage, String, String, Object[])

Displays an error message in the list with the specified writer, request, category, message format and argument.

System_CAPS_pubmethodSystem_CAPS_static Fatal(ITraceWriter, HttpRequestMessage, String, Exception)

Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception.

System_CAPS_pubmethodSystem_CAPS_static Fatal(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])

Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception, message format and argument.

System_CAPS_pubmethodSystem_CAPS_static Fatal(ITraceWriter, HttpRequestMessage, String, String, Object[])

Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and message format and argument.

System_CAPS_pubmethodSystem_CAPS_static Info(ITraceWriter, HttpRequestMessage, String, Exception)

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

System_CAPS_pubmethodSystem_CAPS_static Info(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])

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

System_CAPS_pubmethodSystem_CAPS_static Info(ITraceWriter, HttpRequestMessage, String, String, Object[])

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

System_CAPS_pubmethodSystem_CAPS_static Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, Exception)

Indicates the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_static Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, Exception, String, Object[])

Indicates the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_static Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, Object[])

Indicates the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_static TraceBeginEnd(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, String, Action<TraceRecord>, Action, Action<TraceRecord>, Action<TraceRecord>)

Traces both a begin and an end trace around a specified operation.

System_CAPS_pubmethodSystem_CAPS_static TraceBeginEndAsync(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, String, Action<TraceRecord>, Func<Task>, Action<TraceRecord>, Action<TraceRecord>)

Traces both a begin and an end trace around a specified operation.

System_CAPS_pubmethodSystem_CAPS_static TraceBeginEndAsync<TResult>(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, String, Action<TraceRecord>, Func<Task<TResult>>, Action<TraceRecord, TResult>, Action<TraceRecord>)

Traces both a begin and an end trace around a specified operation.

System_CAPS_pubmethodSystem_CAPS_static Warn(ITraceWriter, HttpRequestMessage, String, Exception)

Indicates the warning level of execution.

System_CAPS_pubmethodSystem_CAPS_static Warn(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[])

Indicates the warning level of execution.

System_CAPS_pubmethodSystem_CAPS_static Warn(ITraceWriter, HttpRequestMessage, String, String, Object[])

Indicates the warning level of execution.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.Tracing Namespace

Return to top