IHttpActionInvoker.InvokeActionAsync Method

Executes asynchronously the HTTP operation.

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

abstract InvokeActionAsync : 
        actionContext:HttpActionContext * 
        cancellationToken:CancellationToken -> Task<HttpResponseMessage> 

Parameters

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

The execution context.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token assigned for the HTTP operation.

Return Value

Type: System.Threading.Tasks.Task(HttpResponseMessage)
The newly started task.
Show: