Sprache

AdaptiveDialog.EndCurrentActionAsync(ActionContext, CancellationToken) Methode

Definition

Entfernt die aktuell meisten Aktionen aus dem gegebenen ActionContext , falls es welche gibt.

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 die aktuelle Unterhaltungswende.

cancellationToken
CancellationToken

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

Gibt zurück

A Task repräsentiert einen booleschen Indikator für das Ergebnis.

Gilt für: