EventManifestOptions EventManifestOptions EventManifestOptions EventManifestOptions Enum

Definition

Specifies how the ETW manifest for the event source is generated.

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

public enum class EventManifestOptions
[System.Flags]
public enum EventManifestOptions
type EventManifestOptions = 
Public Enum EventManifestOptions
Inheritance
EventManifestOptionsEventManifestOptionsEventManifestOptionsEventManifestOptions
Attributes

Fields

AllCultures AllCultures AllCultures AllCultures 2

Generates a resources node under the localization folder for every satellite assembly provided.

AllowEventSourceOverride AllowEventSourceOverride AllowEventSourceOverride AllowEventSourceOverride 8

Overrides the default behavior that the current EventSource must be the base class of the user-defined type passed to the write method. This enables the validation of .NET event sources.

None None None None 0

No options are specified.

OnlyIfNeededForRegistration OnlyIfNeededForRegistration OnlyIfNeededForRegistration OnlyIfNeededForRegistration 4

A manifest is generated only the event source must be registered on the host computer.

Strict Strict Strict Strict 1

Causes an exception to be raised if any inconsistencies occur when writing the manifest file.

Remarks

A bitwise combination of these values will determine how the manifest is written for the event source. For example you can specify whether resource files are generated and how strict the manifest validation is.

Applies to