AdaptiveDialog.ProcessEventAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event processing implementation.
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
The ActionContext for the current turn of conversation.
- dialogEvent
- DialogEvent
The DialogEvent being raised.
- preBubble
- Boolean
A flag indicator for preBubble processing.
- cancellationToken
- CancellationToken
Optional, a CancellationToken used to signal this operation should be cancelled.
Returns
A Task representation of a boolean indicator or the result.