EventSourceSettings Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies configuration options for an event source.
This enumeration supports a bitwise combination of its member values.
public enum class EventSourceSettings
[System.Flags]
public enum EventSourceSettings
[<System.Flags>]
type EventSourceSettings =
Public Enum EventSourceSettings
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | None of the special configuration options are enabled. |
ThrowOnEventWriteErrors | 1 | The event source throws an exception when an error occurs. |
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 | 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. |
Remarks
Only EtwManifestEventFormat or EtwSelfDescribingEventFormat should be specified, but not both.