Microsoft.Bot.Builder.Dialogs.IDialog< out out TResult > Interface Template Reference

A IDialog<TResult> is a suspendable conversational process that produces a result of type TResult . More...

Public Member Functions

Task StartAsync (IDialogContext context)
 The start of the code that represents the conversational dialog. More...
 

Detailed Description

A IDialog<TResult> is a suspendable conversational process that produces a result of type TResult .

A IDialog is a suspendable conversational process that produces an ignored result.

Dialogs can call child dialogs or send messages to a user. Dialogs are suspended when waiting for a message from the user to the bot. Dialogs are resumed when the bot receives a message from the user.

Template Parameters
TResultThe result type.

Definition at line 47 of file IDialog.cs.

Member Function Documentation

Task Microsoft.Bot.Builder.Dialogs.IDialog< out out TResult >.StartAsync ( IDialogContext  context)

The start of the code that represents the conversational dialog.

Parameters
contextThe dialog context.
Returns
A task that represents the dialog start.

The documentation for this interface was generated from the following file: