Freigeben über


IHttpActionResult.ExecuteAsync Method (CancellationToken)

 

Creates an HttpResponseMessage asynchronously.

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

Syntax

Task<HttpResponseMessage> ExecuteAsync(
    CancellationToken cancellationToken
)
Task<HttpResponseMessage^>^ ExecuteAsync(
    CancellationToken cancellationToken
)
abstract ExecuteAsync : 
        cancellationToken:CancellationToken -> Task<HttpResponseMessage>
Function ExecuteAsync (
    cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)

Parameters

Return Value

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

A task that, when completed, contains the HttpResponseMessage.

See Also

IHttpActionResult Interface
System.Web.Http Namespace

Return to top