Dialog.OnPostBubbleEventAsync Methode

Definition

Wird aufgerufen, nachdem ein Ereignis für alle Eltern eingeblasen wurde und nicht behandelt wurde.

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

Parameter

dc
DialogContext

Der Dialogkontext für den aktuellen Gesprächsverlauf.

e
DialogEvent

Das ausgelöste Ereignis.

cancellationToken
CancellationToken

Abbruchtoken.

Gibt zurück

Gibt an, ob das Ereignis vom aktuellen Dialog behandelt wird und die weitere Verarbeitung beendet werden sollte.

Hinweise

Dies ist ein guter Ort, um Standardverarbeitungslogik für ein Ereignis auszuführen. Die Rückgabe von "true" verhindert die Verarbeitung des Ereignisses durch untergeordnete Dialogfelder.

Gilt für: