System.Web.Management.WebEventCodes.InvalidViewState Field

Represents the event code indicating that the supplied view state is invalid. This field is constant.

Value: 50204

Syntax

public const int InvalidViewState

Remarks

WebEventCodes.InvalidViewState is the detail code that specifies the cause of the view-state failure.

When the view-state error occurs, ASP.NET raises a System.Web.Management.WebViewStateFailureAuditEvent with a major code of WebEventCodes.AuditInvalidViewStateFailure and a detail code of WebEventCodes.InvalidViewState.

Requirements

Namespace: System.Web.Management
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0