The ContextualLogTraceListener type exposes the following members.

Constructors

  NameDescription
ContextualLogTraceListener
Creates a trace listener that writes to the specified execution log stream.

Methods

  NameDescription
Close
When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
(Inherited from TraceListener.)
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FailOverloaded.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flush
When overridden in a derived class, flushes the output buffer.
(Inherited from TraceListener.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetSupportedAttributes
Gets the custom attributes supported by the trace listener.
(Inherited from TraceListener.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
MemberwiseCloneOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TraceDataOverloaded.
TraceEventOverloaded.
TraceTransfer
Writes trace information, a message, a related activity identity and event information to the listener specific output.
(Inherited from TraceListener.)
WriteOverloaded.
WriteIndent
Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.
(Inherited from TraceListener.)
WriteLineOverloaded.

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
Attributes
Gets the custom trace listener attributes defined in the application configuration file.
(Inherited from TraceListener.)
Filter
Gets and sets the trace filter for the trace listener.
(Inherited from TraceListener.)
IndentLevel
Gets or sets the indent level.
(Inherited from TraceListener.)
IndentSize
Gets or sets the number of spaces in an indent.
(Inherited from TraceListener.)
IsThreadSafe
Gets a value indicating whether the trace listener is thread safe.
(Overrides TraceListener..::.IsThreadSafe.)
Name
Gets or sets a name for this TraceListener.
(Inherited from TraceListener.)
NeedIndent
Gets or sets a value indicating whether to indent the output.
(Inherited from TraceListener.)
TraceOutputOptions
Gets or sets the trace output options.
(Inherited from TraceListener.)

See Also