EntityCommand.ExecuteDbDataReaderAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exécute la commande de manière asynchrone et retourne un lecteur de données pour lire les résultats
[System.Diagnostics.DebuggerStepThrough]
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>
Paramètres
- behavior
- CommandBehavior
Comportement à utiliser lors de l’exécution de la commande
- cancellationToken
- CancellationToken
Jeton à surveiller pour les demandes d’annulation
Retours
Tâche qui représente l’opération asynchrone. Le résultat de la tâche contient un objet DbDataReader.
- Attributs