System.Web.Management.WebEventCodes.InvalidViewStateMac Field

Represents the event code indicating that the supplied view state failed the integrity check. This field is constant.

Value: 50203

Syntax

public const int InvalidViewStateMac

Remarks

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

When the supplied view state fails the integrity check, ASP.NET raises a System.Web.Management.WebViewStateFailureAuditEvent with a major code of WebEventCodes.AuditInvalidViewStateFailure and a detail code of WebEventCodes.InvalidViewStateMac.

Requirements

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