Export (0) Print
Expand All

IHttpController.ExecuteAsync Method

Executes the controller for synchronization.

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

abstract ExecuteAsync : 
        controllerContext:HttpControllerContext * 
        cancellationToken:CancellationToken -> Task<HttpResponseMessage> 

Parameters

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

The current context for a test controller.

cancellationToken
Type: System.Threading.CancellationToken

The notification that cancels the operation.

Return Value

Type: System.Threading.Tasks.Task(HttpResponseMessage)
The controller.
Show:
© 2014 Microsoft