Delen via


AdaptiveDialog.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 dialogEvent, System.Threading.CancellationToken cancellationToken = default);
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, dialogEvent As DialogEvent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

dc
DialogContext

De DialogContext voor de huidige wending van het gesprek.

dialogEvent
DialogEvent

De DialogEvent opgevoede.

cancellationToken
CancellationToken

Optioneel, de CancellationToken die kan worden gebruikt door andere objecten of threads om een kennisgeving van annulering te ontvangen.

Retouren

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

Van toepassing op