Taal

AdaptiveDialog.ProcessEventAsync Methode

Definitie

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.

Van toepassing op