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::WriteEvent Method (Int32, Int32, String^)

.NET Framework (current version)
 

Writes an event by using the provided event identifier and 32-bit integer and string arguments.

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

protected:
void WriteEvent(
	int eventId,
	int arg1,
	String^ arg2
)

Parameters

eventId
Type: System::Int32

The event identifier. This value should be between 0 and 65535.

arg1
Type: System::Int32

A 32-bit integer argument.

arg2
Type: System::String^

A string argument.

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