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

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

    Parameters

    behavior
    See Also