IHistoryRepository.CreateIfNotExistsAsync(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.
Crée la table d’historique.
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Paramètres
- cancellationToken
- CancellationToken
À CancellationToken observer lors de l’attente de 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 a été créée, false sinon.
Exceptions
Si la CancellationToken valeur est annulée.