Share via


AdaptiveDialog.OnEndOfActionsAsync(ActionContext, CancellationToken) Method

Definition

Awaits for completed actions to finish processing entity assignments and finishes turn.

protected System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> OnEndOfActionsAsync (Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext actionContext, System.Threading.CancellationToken cancellationToken = default);
member this.OnEndOfActionsAsync : Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Function OnEndOfActionsAsync (actionContext As ActionContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameters

actionContext
ActionContext

The ActionContext for the current turn of conversation.

cancellationToken
CancellationToken

Optional, a CancellationToken that can be used by other objects.

Returns

A Task representation of DialogTurnResult.

Applies to