'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 cancellation token to abort the query execution at any moment.
Return Value
A task representing the asynchronous operation. The task generic parameter is a DbDataReader representing the table result of the query execution.