Επεξεργασία

Κοινή χρήση μέσω


DiagnosticListener.AllListeners Property

Definition

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.

Applies to