AuthorizeAttribute.OnCacheAuthorization(HttpContextBase) Method

Definition

Called when the caching module requests authorization.

protected virtual System.Web.HttpValidationStatus OnCacheAuthorization (System.Web.HttpContextBase httpContext);
abstract member OnCacheAuthorization : System.Web.HttpContextBase -> System.Web.HttpValidationStatus
override this.OnCacheAuthorization : System.Web.HttpContextBase -> System.Web.HttpValidationStatus
Protected Overridable Function OnCacheAuthorization (httpContext As HttpContextBase) As HttpValidationStatus

Parameters

httpContext
HttpContextBase

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

Returns

A reference to the validation status.

Exceptions

The httpContext parameter is null.

Applies to