Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the specified control is authorized.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overridable Function IsAuthorized ( _
actionContext As HttpActionContext _
) As Boolean
'Usage
Dim actionContext As HttpActionContext
Dim returnValue As Boolean
returnValue = Me.IsAuthorized(actionContext)
protected virtual bool IsAuthorized(
HttpActionContext actionContext
)
protected:
virtual bool IsAuthorized(
HttpActionContext^ actionContext
)
abstract IsAuthorized :
actionContext:HttpActionContext -> bool
override IsAuthorized :
actionContext:HttpActionContext -> bool
protected function IsAuthorized(
actionContext : HttpActionContext
) : boolean
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe context.
Return Value
Type: System.Boolean
true if the control is authorized; otherwise, false.