IHttpActionResult::ExecuteAsync Method (CancellationToken)

 

Creates an HttpResponseMessage asynchronously.

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

Task<HttpResponseMessage^>^ ExecuteAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading::CancellationToken

The token to monitor for cancellation requests.

Return Value

Type: System.Threading.Tasks::Task<HttpResponseMessage^>^

A task that, when completed, contains the HttpResponseMessage.

Return to top
Show: