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.

IHttpActionResult.ExecuteAsync Method (CancellationToken)

 

Creates an HttpResponseMessage asynchronously.

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

Function ExecuteAsync (
	cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)

Parameters

cancellationToken
Type: System.Threading.CancellationToken

The token to monitor for cancellation requests.

Return Value

Type: System.Threading.Tasks.Task(Of HttpResponseMessage)

A task that, when completed, contains the HttpResponseMessage.

Return to top
Show: