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^, EventSourceOptions)
.NET Framework (current version)
Writes an event without fields, but with the specified name and options.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- eventName
-
Type:
System::String^
The name of the event to write.
- options
-
Type:
System.Diagnostics.Tracing::EventSourceOptions
The options such as level, keywords and operation code for the event.
| Exception | Condition |
|---|---|
| ArgumentNullException | eventName is null. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Available since 10
.NET Framework
Available since 4.6
Show: