EventListener.DisableEvents(EventSource) Method
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.
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
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.