AuthorizeAttribute.OnCacheAuthorization Method (HttpContextBase)
Called when the caching module requests authorization.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract OnCacheAuthorization : httpContext:HttpContextBase -> HttpValidationStatus override OnCacheAuthorization : httpContext:HttpContextBase -> HttpValidationStatus
Parameters
- httpContext
-
Type:
System.Web.HttpContextBase
The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request.
| Exception | Condition |
|---|---|
| ArgumentNullException | The httpContext parameter is null. |
The httpContext object contains information about the server, session, request, user, application, and more.
Show: