DataConnector | ComponentOne
C1.AdoNet.OData Assembly / C1.AdoNet.OData Namespace / C1ODataDataReader 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 Overridable Function ReadAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Boolean)
    public virtual Task<bool> ReadAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken
    The cancellation instruction.

    Return Value

    A task representing the asynchronous operation.
    See Also