DataConnector
C1.AdoNet.OData 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 System.Threading.CancellationToken _
    ) As System.Threading.Tasks.Task(Of Boolean)
    public override System.Threading.Tasks.Task<bool> ReadAsync( 
       System.Threading.CancellationToken cancellationToken
    )

    Parameters

    cancellationToken
    The cancellation instruction.

    Return Value

    A task representing the asynchronous operation.
    See Also