Share via


AdaptiveDialog.OnPostBubbleEventAsync Method

Definition

Called after an event was bubbled to all parents and wasn't handled.

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

Parameters

dc
DialogContext

The DialogContext for the current turn of conversation.

dialogEvent
DialogEvent

The DialogEvent being raised.

cancellationToken
CancellationToken

Optional, the CancellationToken that can be used by other objects or threads to receive notice of cancellation.

Returns

Whether the event is handled by the current dialog and further processing should stop.

Applies to