Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventSourceSettings Enumeration

.NET Framework (current version)
 

Specifies configuration options for an event source.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

[FlagsAttribute]
public enum EventSourceSettings

Member nameDescription
Default

None of the special configuration options are enabled.

EtwManifestEventFormat

The ETW listener should use a manifest-based format when raising events. Setting this option is a directive to the ETW listener should use manifest-based format when raising events. This is the default option when defining a type derived from EventSource using one of the protected EventSource constructors.

EtwSelfDescribingEventFormat

The ETW listener should use self-describing event format. This is the default option when creating a new instance of the EventSource using one of the public EventSource constructors.

ThrowOnEventWriteErrors

The event source throws an exception when an error occurs.

Only EtwManifestEventFormat or EtwSelfDescribingEventFormat should be specified, but not both.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft