TraceSource.Listeners Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.