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

.NET Framework (current version)
 

Writes an event without fields, but with the specified name and default options.

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

public:
void Write(
	String^ eventName
)

Parameters

eventName
Type: System::String^

The name of the event to write.

Exception Condition
ArgumentNullException

eventName is null.

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