DbCommand::ExecuteReaderAsync Method
An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | ExecuteReaderAsync() | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader. Invokes ExecuteDbDataReaderAsync with CancellationToken.None. |
![]() | ExecuteReaderAsync(CancellationToken) | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader. This method propagates a notification that operations should be canceled. Invokes ExecuteDbDataReaderAsync. |
![]() | ExecuteReaderAsync(CommandBehavior) | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader. Invokes ExecuteDbDataReaderAsync. |
![]() | ExecuteReaderAsync(CommandBehavior, CancellationToken) | Invokes ExecuteDbDataReaderAsync. |
Managed provider implementers must call ExecuteDbDataReaderAsync in ExecuteReaderAsync. For more information about asynchronous programming, see Asynchronous Programming.
