Taal

AdaptiveDialog.EndCurrentActionAsync(ActionContext, CancellationToken) Methode

Definitie

Verwijdert de huidige meeste acties van de gegeven ActionContext als die er zijn.

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)

Parameters

actionContext
ActionContext

Het is ActionContext voor de huidige wending van het gesprek.

cancellationToken
CancellationToken

Optioneel, een CancellationToken die door andere objecten gebruikt kan worden.

Retouren

A die Task een booleaanse indicator voor het resultaat vertegenwoordigt.

Van toepassing op