EventSourceOptions Structure

.NET Framework (current version)
 

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

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

public value struct EventSourceOptions

NameDescription
System_CAPS_pubpropertyActivityOptions

The activity options defined for this event source.

System_CAPS_pubpropertyKeywords

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

System_CAPS_pubpropertyLevel

Gets or sets the event level applied to the event.

System_CAPS_pubpropertyOpcode

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

System_CAPS_pubpropertyTags

The event tags defined for this event source.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Indicates whether this instance and a specified object are equal.(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: