Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IHttpController.ExecuteAsync Method

Executes the controller for synchronization.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)
function 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.