Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApiController::ExecuteAsync Method (HttpControllerContext^, CancellationToken)

 

Executes asynchronously a single HTTP operation.

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

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

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.

Return to top
Show: