Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHttpActionInvoker.InvokeActionAsync Method

Executes asynchronously the HTTP operation.

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

Task<HttpResponseMessage> InvokeActionAsync(
	HttpActionContext actionContext,
	CancellationToken cancellationToken
)

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:
© 2015 Microsoft