Defines the standard operation codes that the event source attaches to events.
Assembly: mscorlib (in mscorlib.dll)
|A trace collection start event.|
|A trace collection stop event.|
|An extension event.|
|An informational event.|
|An event that is published when one activity in an application receives data.|
|An event that is published after an activity in an application replies to an event.|
|An event that is published after an activity in an application resumes from a suspended state. The event should follow an event that has the operation code.|
|An event that is published when one activity in an application transfers data or system resources to another activity.|
|An event that is published when an application starts a new transaction or activity. This operation code can be embedded within another transaction or activity when multiple events that have the code follow each other without an intervening event that has a code.|
|An event that is published when an activity or a transaction in an application ends. The event corresponds to the last unpaired event that has a operation code.|
|An event that is published when an activity in an application is suspended.|
The following example shows how to use the class to specify event operation codes. This code example is part of a larger example provided for the EventSource class.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.