Foreach.OnEndOfActionsAsync(DialogContext, Object, CancellationToken) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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
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.