CommandDialog<T>.ResultHandler<U> 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.
The result handler of the command dialog passed to the child dialogs.
public virtual System.Threading.Tasks.Task ResultHandler<U> (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.IAwaitable<U> result);
abstract member ResultHandler : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<'U> -> System.Threading.Tasks.Task
override this.ResultHandler : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<'U> -> System.Threading.Tasks.Task
Public Overridable Function ResultHandler(Of U) (context As IDialogContext, result As IAwaitable(Of U)) As Task
Type Parameters
- U
The type of the result returned by the child dialog.
Parameters
- context
- IDialogContext
Dialog context.
- result
- IAwaitable<U>
The result retured by the child dialog.