WebEventCodes.InvalidEventCode Field

Definition

Represents the event code indicating that the event code value is not allowed. This field is constant.

C#
public const int InvalidEventCode = -1;

Field Value

Value = -1

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1