IHistoryRepository.ExistsAsync(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.
Vérifie si la table d’historique existe ou non.
public System.Threading.Tasks.Task<bool> ExistsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Paramètres
- cancellationToken
- CancellationToken
CancellationToken À observer en attendant la fin de la tâche.
Retours
Tâche qui représente l’opération asynchrone. Le résultat de la tâche contient true si la table existe déjà, false sinon.
Exceptions
Si le CancellationToken est annulé.