Delen via


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

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.

Van toepassing op