WebEventCodes.InvalidViewState Field


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

public: int InvalidViewState = 50204;
public const int InvalidViewState = 50204;
val mutable InvalidViewState : int
Public Const InvalidViewState As Integer  = 50204

Field Value


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

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

Applies to

See also