EventAttribute.EventId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.