Freigeben über


AdaptiveDialog.EndCurrentActionAsync(ActionContext, CancellationToken) Methode

Definition

Entfernt die aktuell größte Aktion aus dem angegebenen ActionContext , falls vorhanden.

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)

Parameter

actionContext
ActionContext

Die ActionContext für den aktuellen Unterhaltungswechsel.

cancellationToken
CancellationToken

Optional, ein CancellationToken , der von anderen Objekten verwendet werden kann.

Gibt zurück

Ein Task , der einen booleschen Indikator für das Ergebnis darstellt.

Gilt für: