DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SCommand Class / ExecuteDbDataReaderAsync Method
An instance of System.Data.CommandBehavior.
The token to monitor for cancellation requests.

In This Topic
    ExecuteDbDataReaderAsync Method (C1D365SCommand)
    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 token to monitor for cancellation requests.
    See Also