dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBCommand Class / ExecuteReaderAsync Method / ExecuteReaderAsync(CommandBehavior,CancellationToken) Method

On this page
    ExecuteReaderAsync(CommandBehavior,CancellationToken) Method
    On this page
    Executes the command asynchronously with the specified CommandBehavior and cancellation token and returns a task whose result is a MongoDBDataReader.
    Syntax
    'Declaration
     
    Public Overloads Function ExecuteReaderAsync( _
       ByVal behavior As CommandBehavior, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of MongoDBDataReader)

    Parameters

    behavior
    cancellationToken
    See Also