Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

System.Diagnostics.Tracing

Provides class that enable you to create high performance tracing events to be captured by event tracing for Windows (ETW). Commonly Used Types: System.Diagnostics.Tracing.EventSource System.Diagnostics.Tracing.EventListener System.Diagnostics.Tracing.EventLevel System.Diagnostics.Tracing.EventKeywords System.Diagnostics.Tracing.EventWrittenEventArgs System.Diagnostics.Tracing.EventAttribute System.Diagnostics.Tracing.EventSourceAttribute System.Diagnostics.Tracing.NonEventAttribute When using NuGet 3.x this package requires at least version 3.4.

Author Microsoft
Version 4.3.0
Tags

Public Types

System.​Diagnostics.​Tracing

<see cref="T:System.Diagnostics.Tracing.DiagnosticCounter" /> is an abstract class that serves as the parent class for various Counter* classes, namely <see cref="T:System.Diagnostics.Tracing.EventCounter" /> , <see cref="T:System.Diagnostics.Tracing.PollingCounter" /> , <see cref="T:System.Diagnostics.Tracing.IncrementingEventCounter" /> , and <see cref="T:System.Diagnostics.Tracing.IncrementingPollingCounter" /> .
Specifies the tracking of activity start and stop events.
Specifies additional event schema information for an event.
Specifies the event log channel for the event.
Describes the command ( <see cref="P:System.Diagnostics.Tracing.EventCommandEventArgs.Command" /> property) that is passed to the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)" /> callback.
Provides the arguments for the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)" /> callback.
Provides the ability to collect statistics for very frequent events through the <see cref="T:System.Diagnostics.Tracing.EventSource" /> class.
Specifies a type to be passed to the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)" /> method.
The <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute" /> is placed on fields of user-defined types that are passed as <see cref="T:System.Diagnostics.Tracing.EventSource" /> payloads.
Specifies how to format the value of a user-defined type and can be used to override the default formatting for a field.
Specifies the user-defined tag that is placed on fields of user-defined types that are passed as <see cref="T:System.Diagnostics.Tracing.EventSource" /> payloads through the <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute" /> .
Specifies a property should be ignored when writing an event type with the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,``0@)" /> method.
Defines the standard keywords that apply to events.
Identifies the level of an event.
Provides methods for enabling and disabling events from event sources.
Specifies how the ETW manifest for the event source is generated.
Defines the standard operation codes that the event source attaches to events.
Provides the ability to create events for event tracing across platforms.
Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event source class.
Provides data for the <see cref="E:System.Diagnostics.Tracing.EventListener.EventSourceCreated" /> event.
The exception that is thrown when an error occurs during event tracing for Windows (ETW).
Specifies overrides of default event settings such as the log level, keywords and operation code when the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)" /> method is called.
Specifies configuration options for an event source.
Specifies the tracking of activity start and stop events. You should only use the lower 24 bits. For more information, see <see cref="T:System.Diagnostics.Tracing.EventSourceOptions" /> and <see cref="M:System.Diagnostics.Tracing.EventSource.Write(System.String,System.Diagnostics.Tracing.EventSourceOptions)" /> .
Defines the tasks that apply to events.
Provides data for the <see cref="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)" /> callback.
Provides a variant of <see cref="T:System.Diagnostics.Tracing.EventCounter" /> for variables that are ever-increasing, such as the number of exceptions in the runtime.
Provides a variant of <see cref="T:System.Diagnostics.Tracing.EventCounter" /> for variables that are ever-increasing, such as the number of exceptions in the runtime.
Identifies a method that is not generating an event.
Provides a variant of <see cref="T:System.Diagnostics.Tracing.EventCounter" /> that collects and calculates similar statistics as <see cref="T:System.Diagnostics.Tracing.EventCounter" /> .