DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1DataReader Class / ReadAsync Method / ReadAsync(CancellationToken) Method
The cancellation instruction.

In This Topic
    ReadAsync(CancellationToken) Method
    In This Topic
    An asynchronous version of Read method.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function ReadAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Boolean)
    public override Task<bool> ReadAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken
    The cancellation instruction.

    Return Value

    A task representing the asynchronous operation.
    See Also