TraceSource.Listeners
Property
Definition
Gets the collection of trace listeners for the trace source.
public System.Diagnostics.TraceListenerCollection Listeners { get; }
Property Value
A TraceListenerCollection that contains the active trace listeners associated with the source.
Remarks
Use this property to access and perform operations on the trace listeners.