Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActionFilterAttribute::IActionFilter::ExecuteActionFilterAsync Method (HttpActionContext^, CancellationToken, Func<Task<HttpResponseMessage^>^>^)

 

Executes the filter action asynchronously.

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

private:
virtual Task<HttpResponseMessage^>^ ExecuteActionFilterAsync(
	HttpActionContext^ actionContext,
	CancellationToken cancellationToken,
	Func<Task<HttpResponseMessage^>^>^ continuation
) sealed = IActionFilter::ExecuteActionFilterAsync

Parameters

actionContext
Type: System.Web.Http.Controllers::HttpActionContext^

The action context.

cancellationToken
Type: System.Threading::CancellationToken

The cancellation token assigned for this task.

continuation
Type: System::Func<Task<HttpResponseMessage^>^>^

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

Return Value

Type: System.Threading.Tasks::Task<HttpResponseMessage^>^

The newly created task for this operation.

Return to top
Show: