Web API Edition | ComponentOne
C1.Web.Api Namespace / ExporterResult Class / ExecuteAsync Method
The token to monitor for cancellation requests.

In This Topic
    ExecuteAsync Method
    In This Topic
    Creates an System.Net.Http.HttpResponseMessage asynchronously.
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(C1.Web.Api.ExporterResult/#Y4s)>
    Public Function ExecuteAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of HttpResponseMessage)
    [AsyncStateMachine(C1.Web.Api.ExporterResult/#Y4s)]
    public Task<HttpResponseMessage> ExecuteAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken
    The token to monitor for cancellation requests.

    Return Value

    A task that, when completed, contains the System.Net.Http.HttpResponseMessage.
    See Also