AdaptiveDialog.ProcessEventAsync 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.
Implementatie van gebeurtenisverwerking.
protected virtual System.Threading.Tasks.Task<bool> ProcessEventAsync(Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext actionContext, Microsoft.Bot.Builder.Dialogs.DialogEvent dialogEvent, bool preBubble, System.Threading.CancellationToken cancellationToken = default);
abstract member ProcessEventAsync : Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext * Microsoft.Bot.Builder.Dialogs.DialogEvent * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.ProcessEventAsync : Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext * Microsoft.Bot.Builder.Dialogs.DialogEvent * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Protected Overridable Function ProcessEventAsync (actionContext As ActionContext, dialogEvent As DialogEvent, preBubble As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- actionContext
- ActionContext
Het is ActionContext voor de huidige wending van het gesprek.
- dialogEvent
- DialogEvent
Het DialogEvent wezen dat werd opgevoed.
- preBubble
- Boolean
Een vlagindicator voor preBubble-verwerking.
- cancellationToken
- CancellationToken
Optioneel moet een CancellationToken gebruikt om deze operatie aan te geven worden geannuleerd.
Retouren
Een Task representatie van een booleaanse indicator of het resultaat.