EventListener.EnableEvents Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Enables events for the specified event source.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEnableEvents(EventSource, EventLevel)

Enables events for the specified event source that has the specified verbosity level or lower.

System_CAPS_pubmethodEnableEvents(EventSource, EventLevel, EventKeywords)

Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.

System_CAPS_pubmethodEnableEvents(EventSource, EventLevel, EventKeywords, IDictionary<String, String>)

Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.

Return to top
Show: