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 (String^)

.NET Framework (current version)
 

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

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

public:
EventSource(
	String^ eventSourceName
)

Parameters

eventSourceName
Type: System::String^

The name to apply to the event source. Must not be null.

Exception Condition
ArgumentNullException

eventSourceName is null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft