Export (0) Print
Expand All

Controller.IAuthorizationFilter.OnAuthorization Method

This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnAuthorization method.

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

'Declaration
Private Sub OnAuthorization ( _
	filterContext As AuthorizationContext _
) Implements IAuthorizationFilter.OnAuthorization
'Usage
Dim instance As Controller
Dim filterContext As AuthorizationContext

CType(instance, IAuthorizationFilter).OnAuthorization(filterContext)

Parameters

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

Implements

IAuthorizationFilter.OnAuthorization(AuthorizationContext)

This member is an explicit interface member implementation. It can be used only when a derived Controller instance is cast to an IAuthorizationFilter interface.

Show:
© 2014 Microsoft