Event Codes. Invalid Event Code Field
Represents the event code indicating that the event code value is not allowed. This field is constant.
public: int InvalidEventCode = -1;
public const int InvalidEventCode = -1;
val mutable InvalidEventCode : int
Public Const InvalidEventCode As Integer = -1
The InvalidEventCode represents the use of a code value that is not allowed by the system. For instance, this can happen if you customize an ASP.NET health-monitoring event and use a code value that is already assigned by the system.