VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode.Web.ApiControllers Namespace / VintasoftBarcodeApiController Class / ExecuteAsync Method
The controller context for a single HTTP operation.
The cancellation token assigned for the HTTP operation.




In This Topic
    ExecuteAsync Method (VintasoftBarcodeApiController)
    In This Topic
    Executes asynchronously a single HTTP operation.
    Syntax
    'Declaration
     
    Public Overrides Function ExecuteAsync( _
       ByVal controllerContext As HttpControllerContext, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of HttpResponseMessage)
    'Usage
     
    Dim instance As VintasoftBarcodeApiController
    Dim controllerContext As HttpControllerContext
    Dim cancellationToken As CancellationToken
    Dim value As Task(Of HttpResponseMessage)
     
    value = instance.ExecuteAsync(controllerContext, cancellationToken)

    Parameters

    controllerContext
    The controller context for a single HTTP operation.
    cancellationToken
    The cancellation token assigned for the HTTP operation.

    Return Value

    The newly started task.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also