Export (0) Print
Expand All

ValidateInputAttribute.OnAuthorization Method

Called when authorization is required.

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

'Declaration
Public Overridable Sub OnAuthorization ( _
	filterContext As AuthorizationContext _
)
'Usage
Dim instance As ValidateInputAttribute 
Dim filterContext As AuthorizationContext

instance.OnAuthorization(filterContext)

Parameters

filterContext
Type: System.Web.Mvc.AuthorizationContext

The filter context.

Implements

IAuthorizationFilter.OnAuthorization(AuthorizationContext)

ExceptionCondition
ArgumentNullException

The filterContext parameter is Nothing.

Show:
© 2014 Microsoft