Editare

Partajați prin


EventAttribute.EventId Property

Definition

Gets or sets the identifier for the event.

public:
 property int EventId { int get(); };
public int EventId { get; }
member this.EventId : int
Public ReadOnly Property EventId As Integer

Property Value

The event identifier. This value should be between 0 and 65535.

Remarks

EventId should be greater than 0 or less than 65535 or errors can occur in a tracing operation. If errors do occur, you can get more information about the source of the error by checking the output stream of the debugger, if you have a debugger attached to the process firing events. You can also look for errors reported in the ETW event stream, if you have an ETW listener on the event source where the error occurs.

Applies to