AuthorizeAttribute.OnCacheAuthorization Method

Called when the caching module requests authorization.

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

'Declaration
Protected Overridable Function OnCacheAuthorization ( _
	httpContext As HttpContextBase _
) As HttpValidationStatus
'Usage
Dim httpContext As HttpContextBase 
Dim returnValue As HttpValidationStatus 

returnValue = Me.OnCacheAuthorization(httpContext)

Parameters

httpContext
Type: System.Web.HttpContextBase

The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request.

Return Value

Type: System.Web.HttpValidationStatus
A reference to the validation status.

ExceptionCondition
ArgumentNullException

The httpContext parameter is Nothing.

The httpContext object contains information about the server, session, request, user, application, and more.

Show: