DataConnector | ComponentOne
C1.AdoNet.QuickBooksOnline Assembly / C1.AdoNet.QuickBooksOnline Namespace / C1QuickBooksOnlineCommand Class / ExecuteDbDataReaderAsync Method
An instance of System.Data.CommandBehavior.
The cancellation token to abort the query execution at any moment.

In This Topic
    ExecuteDbDataReaderAsync Method (C1QuickBooksOnlineCommand)
    In This Topic
    An asynchronous version of method ExecuteDbDataReader that executes the command text against the connection.
    Syntax
    'Declaration
     
    Protected Function ExecuteDbDataReaderAsync( _
       ByVal behavior As CommandBehavior, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of DbDataReader)
    protected Task<DbDataReader> ExecuteDbDataReaderAsync( 
       CommandBehavior behavior,
       CancellationToken cancellationToken
    )

    Parameters

    behavior
    An instance of System.Data.CommandBehavior.
    cancellationToken
    The cancellation token to abort the query execution at any moment.

    Return Value

    A task representing the asynchronous operation. The task generic parameter is a DbDataReader representing the table result of the query execution.
    See Also