AuthorizeAttribute::OnCacheAuthorization Method
Called when the caching module requests authorization.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected: virtual HttpValidationStatus OnCacheAuthorization( HttpContextBase^ httpContext )
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 nullptr. |
Show: