6 [__DynamicallyInvokable]
11 internal EventDispatcher dispatcher;
15 internal int perEventSourceSessionId;
17 internal int etwSessionId;
29 [__DynamicallyInvokable]
32 [__DynamicallyInvokable]
39 [__DynamicallyInvokable]
42 [__DynamicallyInvokable]
51 [__DynamicallyInvokable]
58 return eventSource.EnableEventForDispatcher(dispatcher, eventId, value:
true);
65 [__DynamicallyInvokable]
72 return eventSource.EnableEventForDispatcher(dispatcher, eventId, value:
false);
79 this.eventSource = eventSource;
80 this.listener = listener;
81 this.perEventSourceSessionId = perEventSourceSessionId;
82 this.etwSessionId = etwSessionId;
85 this.matchAnyKeyword = matchAnyKeyword;
IDictionary< string, string > Arguments
Gets the array of arguments for the callback.
Provides methods for enabling and disabling events from event sources.
EventKeywords
Defines the standard keywords that apply to events.
Represents the base class for classes that contain event data, and provides a value to use for events...
EventLevel
Identifies the level of an event.
Provides the arguments for the M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System....
bool DisableEvent(int eventId)
Disables the event that have the specified identifier.
Provides the ability to create events for event tracing for Windows (ETW).
bool EnableEvent(int eventId)
Enables the event that has the specified identifier.
EventCommand Command
Gets the command for the callback.
The exception that is thrown when a method call is invalid for the object's current state.
EventCommand
Describes the command (P:System.Diagnostics.Tracing.EventCommandEventArgs.Command property) that is p...