Share via


CommandDialog<T>.ResultHandler<U> Method

Definition

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.

Returns

Applies to