Export (0) Print
Expand All

ApiController.ExecuteAsync Method

Executes asynchronously a single HTTP operation.

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

public function ExecuteAsync(
	controllerContext : HttpControllerContext, 
	cancellationToken : CancellationToken
) : Task<HttpResponseMessage>

Parameters

controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext

The controller context for a single HTTP operation.

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.

Implements

IHttpController.ExecuteAsync(HttpControllerContext, CancellationToken)
Show:
© 2014 Microsoft