Export (0) Print
Expand All

AuthorizeAttribute.AuthorizeCore Method

.NET Framework 4

Determines whether access to the core framework is authorized.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Protected Overridable Function AuthorizeCore ( _
	httpContext As HttpContextBase _
) As Boolean

Parameters

httpContext
Type: System.Web.HttpContextBase
The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request.

Return Value

Type: System.Boolean
true if access is authorized; otherwise, false.

ExceptionCondition
ArgumentNullException

The httpContext parameter is Nothing.

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

Community Additions

ADD
Show:
© 2014 Microsoft