EventListener.DisableEvents(EventSource) Method

Definition

Disables all events for the specified event source.

public:
 void DisableEvents(System::Diagnostics::Tracing::EventSource ^ eventSource);
public void DisableEvents (System.Diagnostics.Tracing.EventSource eventSource);
member this.DisableEvents : System.Diagnostics.Tracing.EventSource -> unit
Public Sub DisableEvents (eventSource As EventSource)

Parameters

eventSource
EventSource

The event source to disable events for.

Applies to