System.Diagnostics.Tracing Namespace
.NET Framework 4.5
The System.Diagnostics.Tracing namespace provides types and members that enable you to create strongly typed events to be captured by event tracing for Windows (ETW).
A strongly typed event is identified by name and contains payload descriptions. You can discover the list of events that a program can produce by using reflection.
| Class | Description | |
|---|---|---|
|
EventAttribute | Specifies additional event schema information for an event. |
|
EventCommandEventArgs | Provides the arguments for the OnEventCommand callback. |
|
EventListener | Provides methods for enabling and disabling events from event sources. |
|
EventSource | Provides the ability to create events for event tracing for Windows (ETW). |
|
EventSourceAttribute | Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event source class. |
|
EventSourceException | The exception that is thrown when an error occurs during event tracing for Windows (ETW). |
|
EventWrittenEventArgs | Provides data for the EventListener.OnEventWritten callback. |
|
NonEventAttribute | Identifies a method that is not generating an event. |
| Structure | Description | |
|---|---|---|
|
EventSource.EventData | Provides the event data for creating fast WriteEvent overloads by using the WriteEventCore method. |
| Enumeration | Description | |
|---|---|---|
|
EventCommand | Describes the command (EventCommandEventArgs.Command property) that is passed to the OnEventCommand callback. |
|
EventKeywords | Defines the standard keywords that apply to events. |
|
EventLevel | Identifies the level of an event. |
|
EventOpcode | Defines the standard operation codes that the event source attaches to events. |
|
EventTask | Defines the tasks that apply to events. |