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

.NET Framework (current version)
 

Writes an event.

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

NameDescription
System_CAPS_pubmethodWrite(String^)

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

System_CAPS_pubmethodWrite(String^, EventSourceOptions)

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

System_CAPS_pubmethodWrite<T>(String^, T)

Writes an event with the specified name and data.

System_CAPS_pubmethodWrite<T>(String^, EventSourceOptions, T)

Writes an event with the specified name, event data and options.

System_CAPS_pubmethodWrite<T>(String^, EventSourceOptions%, T%)

Writes an event with the specified name, options and event data.

System_CAPS_pubmethodWrite<T>(String^, EventSourceOptions%, Guid%, Guid%, T%)

Writes an event with the specified name, options, related activity and event data.

Return to top
Show:
© 2017 Microsoft