This documentation is archived and is not being maintained.

WebEventCodes.InvalidEventCode Field

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

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public const int InvalidEventCode
public static final int InvalidEventCode
public const var InvalidEventCode : int
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0