Compartilhar via


ActionFilterAttribute.OnActionExecutingAsync Method (HttpActionContext, CancellationToken)

 

Namespace:   System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public virtual Task OnActionExecutingAsync(
    HttpActionContext actionContext,
    CancellationToken cancellationToken
)
public:
virtual Task^ OnActionExecutingAsync(
    HttpActionContext^ actionContext,
    CancellationToken cancellationToken
)
abstract OnActionExecutingAsync : 
        actionContext:HttpActionContext *
        cancellationToken:CancellationToken -> Task
override OnActionExecutingAsync : 
        actionContext:HttpActionContext *
        cancellationToken:CancellationToken -> Task
Public Overridable Function OnActionExecutingAsync (
    actionContext As HttpActionContext,
    cancellationToken As CancellationToken
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

See Also

ActionFilterAttribute Class
System.Web.Http.Filters Namespace

Return to top