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
De ActionContext voor de huidige wending van het gesprek.
- dialogEvent
- DialogEvent
De DialogEvent opgevoede.
- preBubble
- Boolean
Een vlag-indicator voor preBubble-verwerking.
- cancellationToken
- CancellationToken
Optioneel, een CancellationToken die wordt gebruikt om deze bewerking aan te geven, moet worden geannuleerd.
Retouren
Een Task weergave van een Booleaanse indicator of het resultaat.