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: