Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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, array<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, array<String^>^)

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

Return to top
Show:
© 2017 Microsoft