Upraviť

Zdieľať cez


TraceSource.Listeners Property

Definition

Gets the collection of trace listeners for the trace source.

public:
 property System::Diagnostics::TraceListenerCollection ^ Listeners { System::Diagnostics::TraceListenerCollection ^ get(); };
public System.Diagnostics.TraceListenerCollection Listeners { get; }
member this.Listeners : System.Diagnostics.TraceListenerCollection
Public ReadOnly Property Listeners As TraceListenerCollection

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.

Applies to