AuthorizeAttribute.OnCacheAuthorization(HttpContextBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.