Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called when the caching module requests authorization.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function OnCacheAuthorization ( _
httpContext As HttpContextBase _
) As HttpValidationStatus
protected virtual HttpValidationStatus OnCacheAuthorization(
HttpContextBase httpContext
)
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The httpContext parameter is null reference (Nothing in Visual Basic). |
Remarks
The httpContext object contains information about the server, session, request, user, application, and more.