ActionFilterAttribute.OnActionExecuting Method
Occurs before the action method is invoked.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Sub OnActionExecuting ( _
actionContext As HttpActionContext _
)
'Usage
Dim instance As ActionFilterAttribute
Dim actionContext As HttpActionContext
instance.OnActionExecuting(actionContext)
public virtual void OnActionExecuting(
HttpActionContext actionContext
)
public:
virtual void OnActionExecuting(
HttpActionContext^ actionContext
)
abstract OnActionExecuting :
actionContext:HttpActionContext -> unit
override OnActionExecuting :
actionContext:HttpActionContext -> unit
public function OnActionExecuting(
actionContext : HttpActionContext
)
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
The action context.