Export (0) Print
Expand All

EventSource Constructor

.NET Framework 4.6 and 4.5

Creates a new instance of the EventSource class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Protected method EventSource() Creates a new instance of the EventSource class.
Protected method EventSource(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.
Protected method EventSource(EventSourceSettings) Creates a new instance of the EventSource class with the specified configuration settings.
Public method EventSource(String) Creates a new instance of the EventSource class with the specified name.
Protected method EventSource(EventSourceSettings, String[]) Initializes a new instance of the EventSource to be used with non-contract events that contains the specified settings and traits.
Public method EventSource(String, EventSourceSettings) Creates a new instance of the EventSource class with the specified name and settings.
Public method EventSource(String, EventSourceSettings, String[]) Creates a new instance of the EventSource class with the specified configuration settings.
Top
Show:
© 2015 Microsoft