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
class
DiagnosticCounter
<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" /> .
enum
EventActivityOptions
Specifies the tracking of activity start and stop events.
class
EventAttribute
Specifies additional event schema information for an event.
enum
EventChannel
Specifies the event log channel for the event.
enum
EventCommand
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.
class
EventCommandEventArgs
Provides the arguments for the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)" /> callback.
class
EventCounter
Provides the ability to collect statistics for very frequent events through the <see cref="T:System.Diagnostics.Tracing.EventSource" /> class.
class
EventDataAttribute
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.
class
EventFieldAttribute
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.
enum
EventFieldFormat
Specifies how to format the value of a user-defined type and can be used to override the default formatting for a field.
enum
EventFieldTags
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" /> .
class
EventIgnoreAttribute
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.
enum
EventKeywords
Defines the standard keywords that apply to events.
enum
EventLevel
Identifies the level of an event.
class
EventListener
Provides methods for enabling and disabling events from event sources.
enum
EventManifestOptions
Specifies how the ETW manifest for the event source is generated.
enum
EventOpcode
Defines the standard operation codes that the event source attaches to events.
class
EventSource
Provides the ability to create events for event tracing across platforms.
class
EventSourceAttribute
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.
class
EventSourceException
The exception that is thrown when an error occurs during event tracing for Windows (ETW).
struct
EventSourceOptions
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.
enum
EventSourceSettings
Specifies configuration options for an event source.
enum
EventTags
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)" /> .
enum
EventTask
Defines the tasks that apply to events.
class
EventWrittenEventArgs
Provides data for the <see cref="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)" /> callback.
class
IncrementingEventCounter
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.
class
NonEventAttribute
Identifies a method that is not generating an event.
class
PollingCounter
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" /> .
Dependencies
- Microsoft.NETCore.Platforms:1.1.0
- Microsoft.NETCore.Targets:1.1.0
- System.Runtime:4.3.0 (system references not expanded)