SqliteCommand.ExecuteDbDataReaderAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the CommandText asynchronously against the database and returns a data reader.
protected override System.Threading.Tasks.Task<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync (System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken);
override this.ExecuteDbDataReaderAsync : System.Data.CommandBehavior * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Data.Common.DbDataReader>
Protected Overrides Function ExecuteDbDataReaderAsync (behavior As CommandBehavior, cancellationToken As CancellationToken) As Task(Of DbDataReader)
Parameters
- behavior
- CommandBehavior
A description of query's results and its effect on the database.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
A task representing the asynchronous operation.
Exceptions
If the CancellationToken is canceled.