AdaptiveDialog.EndCurrentActionAsync(ActionContext, 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.
Cela supprime l’action la plus actuelle de la partie donnée ActionContext , s’il y en a.
protected System.Threading.Tasks.Task<bool> EndCurrentActionAsync(Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext actionContext, System.Threading.CancellationToken cancellationToken = default);
member this.EndCurrentActionAsync : Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Protected Function EndCurrentActionAsync (actionContext As ActionContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Paramètres
- actionContext
- ActionContext
ActionContext pour le tour actuel de la conversation.
- cancellationToken
- CancellationToken
Optionnel, un CancellationToken qui peut être utilisé par d’autres objets.
Retours
A Task représentant un indicateur booléen pour le résultat.