DiagnosticListener.AllListeners 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 listeners for this DiagnosticListener.
public:
static property IObservable<System::Diagnostics::DiagnosticListener ^> ^ AllListeners { IObservable<System::Diagnostics::DiagnosticListener ^> ^ get(); };
public static IObservable<System.Diagnostics.DiagnosticListener> AllListeners { get; }
static member AllListeners : IObservable<System.Diagnostics.DiagnosticListener>
Public Shared ReadOnly Property AllListeners As IObservable(Of DiagnosticListener)
Property Value
Remarks
When you subscribe to this, you get callbacks for all NotificationListeners in the appdomain, as well as those that occurred in the past, and all future Listeners created in the future.