Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AuthorizeAttribute.OnCacheAuthorization Method (HttpContextBase)

 

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.

Return Value

Type: System.Web.HttpValidationStatus

A reference to the validation status.

Exception Condition
ArgumentNullException

The httpContext parameter is null.

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

Return to top
Show:
© 2015 Microsoft