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)
Syntax
Task<HttpResponseMessage> ExecuteActionFilterAsync(
HttpActionContext actionContext,
CancellationToken cancellationToken,
Func<Task<HttpResponseMessage>> continuation
)
Task<HttpResponseMessage^>^ ExecuteActionFilterAsync(
HttpActionContext^ actionContext,
CancellationToken cancellationToken,
Func<Task<HttpResponseMessage^>^>^ continuation
)
abstract ExecuteActionFilterAsync :
actionContext:HttpActionContext *
cancellationToken:CancellationToken *
continuation:Func<Task<HttpResponseMessage>> -> Task<HttpResponseMessage>
Function ExecuteActionFilterAsync (
actionContext As HttpActionContext,
cancellationToken As CancellationToken,
continuation As Func(Of Task(Of HttpResponseMessage))
) As Task(Of HttpResponseMessage)
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe action context.
cancellationToken
Type: System.Threading.CancellationTokenThe 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.
See Also
IActionFilter Interface
System.Web.Http.Filters Namespace
Return to top