Table of Contents

Interface IActionFilter

Namespace
System.Web.Http.Filters
Assembly
System.Web.Http.dll

Defines the methods that are used in an action filter.

public interface IActionFilter : IFilter
Inherited Members

Methods

ExecuteActionFilterAsync(HttpActionContext, CancellationToken, Func<Task<HttpResponseMessage>>)

Executes the filter action asynchronously.

Task<HttpResponseMessage> ExecuteActionFilterAsync(HttpActionContext actionContext, CancellationToken cancellationToken, Func<Task<HttpResponseMessage>> continuation)

Parameters

actionContext HttpActionContext

The action context.

cancellationToken CancellationToken

The cancellation token assigned for this task.

continuation Func<Task<HttpResponseMessage>>

The delegate function to continue after the action method is invoked.

Returns

Task<HttpResponseMessage>

The newly created task for this operation.