SystemDiagnosticsTraceWriter.TraceSource Property

Gets or sets the TraceSource to which the traces will be sent.

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

public TraceSource TraceSource { get; set; }

Property Value

Type: System.Diagnostics.TraceSource
This property allows a custom TraceSource to be used when writing the traces. This allows an application to configure and use its own TraceSource other than the default Trace. If the value is null, this trace writer will send traces to Trace.
Show: