Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System.Diagnostics.Eventing Namespace
Collapse the table of content
Expand the table of content

System.Diagnostics.Eventing Namespace

Contains the classes used to instrument your application. The instrumentation, when enabled, logs the event data to the Event Tracing for Windows (ETW) tracing subsystem. For a complete description of ETW, see Event Tracing for Windows.

The classes in this namespace work only on Windows Vista.

  ClassDescription
Public classEventProviderUse this class to write events.
Public classEventProviderTraceListenerA listener for System.Diagnostics.TraceSource that writes events to the ETW subsytem.

  StructureDescription
Public structureEventDescriptorContains the metadata that defines an event.

  EnumerationDescription
Public enumerationEventProvider.WriteEventErrorCodeDefines the possible states of the last write operation.

Community Additions

ADD
Show:
© 2015 Microsoft