Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Diagnostics.​Tracing.​EventCommandEventArgs

Assembly: System.Diagnostics.Tracing

Inheritance: object → EventArgs → EventCommandEventArgs

Provides the arguments for the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)" /> callback.

Properties

Gets the array of arguments for the callback.
public EventCommand
Command
Gets the command for the callback.

Methods

public bool
DisableEvent​(int eventId)
eventId The identifier of the event to disable.
Returns <see langword="true" /> if <paramref name="eventId" /> is in range; otherwise, <see langword="false" /> .
Disables the event that have the specified identifier.
public bool
EnableEvent​(int eventId)
eventId The identifier of the event to enable.
Returns <see langword="true" /> if <paramref name="eventId" /> is in range; otherwise, <see langword="false" /> .
Enables the event that has the specified identifier.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object