AuthorizeAttribute.AuthorizeCore Method
When overridden, provides an entry point for custom authorization checks.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function AuthorizeCore ( _ httpContext As HttpContextBase _ ) As Boolean 'Usage Dim httpContext As HttpContextBase Dim returnValue As Boolean returnValue = Me.AuthorizeCore(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 Nothing. |
Show: