EventSource Constructor

.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.

Creates a new instance of the EventSource class.

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

NameDescription
System_CAPS_protmethodEventSource()

Creates a new instance of the EventSource class.

System_CAPS_protmethodEventSource(Boolean)

Creates a new instance of the EventSource class and specifies whether to throw an exception when an error occurs in the underlying Windows code.

System_CAPS_protmethodEventSource(EventSourceSettings)

Creates a new instance of the EventSource class with the specified configuration settings.

System_CAPS_protmethodEventSource(EventSourceSettings, String[])

Initializes a new instance of the EventSource to be used with non-contract events that contains the specified settings and traits.

System_CAPS_pubmethodEventSource(String)

Creates a new instance of the EventSource class with the specified name.

System_CAPS_pubmethodEventSource(String, EventSourceSettings)

Creates a new instance of the EventSource class with the specified name and settings.

System_CAPS_pubmethodEventSource(String, EventSourceSettings, String[])

Creates a new instance of the EventSource class with the specified configuration settings.

Return to top
Show: