Edit

Share via


EventSourceOptions Struct

Definition

Specifies overrides of default event settings such as the log level, keywords and operation code when the Write<T>(String, EventSourceOptions, T) method is called.

public value class EventSourceOptions
public struct EventSourceOptions
type EventSourceOptions = struct
Public Structure EventSourceOptions
Inheritance
EventSourceOptions

Remarks

For more information about ETW keywords and levels, see CLR ETW Keywords and Levels

Properties

ActivityOptions

The activity options defined for this event source.

Keywords

Gets or sets the keywords applied to the event. If this property is not set, the event's keywords will be None.

Level

Gets or sets the event level applied to the event.

Opcode

Gets or sets the operation code to use for the specified event.

Tags

The event tags defined for this event source.

Applies to