EntityConnection.OpenAsync(CancellationToken) 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.
Établit de manière asynchrone une connexion au magasin de données en appelant la méthode Open sur le fournisseur de données sous-jacent
[System.Diagnostics.DebuggerStepThrough]
public override System.Threading.Tasks.Task OpenAsync(System.Threading.CancellationToken cancellationToken);
override this.OpenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Paramètres
- cancellationToken
- CancellationToken
CancellationToken À observer en attendant la fin de la tâche.
Retours
Tâche qui représente l’opération asynchrone.
- Attributs