Taal

Foreach.OnEndOfActionsAsync(DialogContext, Object, CancellationToken) Methode

Definitie

Wordt opgeroepen wanneer de actie van de dialoog eindigt.

protected override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> OnEndOfActionsAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, object result = default, System.Threading.CancellationToken cancellationToken = default);
override this.OnEndOfActionsAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Overrides Function OnEndOfActionsAsync (dc As DialogContext, Optional result As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

result
Object

Optioneel, waarde geretourneerd uit het dialoogvenster dat is aangeroepen. Het type waarde dat wordt teruggegeven is afhankelijk van het kinddialoog.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

Een Task weergave van de asynchrone bewerking.

Van toepassing op