QnAMakerDialog.OnPreBubbleEventAsync Methode

Definitie

Aangeroepen voordat een gebeurtenis wordt gebeld naar het bovenliggende item.

protected override System.Threading.Tasks.Task<bool> OnPreBubbleEventAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, Microsoft.Bot.Builder.Dialogs.DialogEvent e, System.Threading.CancellationToken cancellationToken);
override this.OnPreBubbleEventAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.DialogEvent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Protected Overrides Function OnPreBubbleEventAsync (dc As DialogContext, e As DialogEvent, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

dc
DialogContext

De dialoogvenstercontext voor de huidige wending van het gesprek.

e
DialogEvent

De gebeurtenis die wordt gegenereerd.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

Of de gebeurtenis wordt verwerkt door het huidige dialoogvenster en of de verdere verwerking moet worden gestopt.

Van toepassing op