Export (0) Print
Expand All

ValidateAntiForgeryTokenAttribute.OnAuthorization Method

.NET Framework 4

Called when authorization is required.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public void OnAuthorization(
	AuthorizationContext filterContext
)

Parameters

filterContext
Type: System.Web.Mvc.AuthorizationContext
The filter context.

Implements

IAuthorizationFilter.OnAuthorization(AuthorizationContext)

ExceptionCondition
ArgumentNullException

The filterContext parameter is null.

Community Additions

ADD
Show:
© 2014 Microsoft