SearchIndexingBufferedSender<T>.FlushAsync(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.
Videz toutes les actions d’indexation en attente. Cela attend que tout ait été envoyé avant de revenir.
public System.Threading.Tasks.Task FlushAsync (System.Threading.CancellationToken cancellationToken = default);
member this.FlushAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function FlushAsync (Optional cancellationToken As CancellationToken = Nothing) As Task
Paramètres
- cancellationToken
- CancellationToken
Facultatif CancellationToken pour propager des notifications indiquant que l’opération doit être annulée.
Retours
Tâche qui se termine après le vidage.
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour