EventSourceSettings EventSourceSettings EventSourceSettings EventSourceSettings Enum

Definition

Specifies configuration options for an event source.

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

public enum class EventSourceSettings
[System.Flags]
public enum EventSourceSettings
type EventSourceSettings = 
Public Enum EventSourceSettings
Inheritance
EventSourceSettingsEventSourceSettingsEventSourceSettingsEventSourceSettings
Attributes

Fields

Default Default Default Default 0

None of the special configuration options are enabled.

EtwManifestEventFormat EtwManifestEventFormat EtwManifestEventFormat EtwManifestEventFormat 4

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 EtwSelfDescribingEventFormat EtwSelfDescribingEventFormat EtwSelfDescribingEventFormat 8

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 ThrowOnEventWriteErrors ThrowOnEventWriteErrors ThrowOnEventWriteErrors 1

The event source throws an exception when an error occurs.

Remarks

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

Applies to