EventSource Constructor

.NET Framework (current version)
 

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: