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
Default | 0 | None of the special configuration options are enabled. |
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. |
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om