IDialogStack Interface
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 stack of dialogs in the conversational process.
public interface IDialogStack
type IDialogStack = interface
Public Interface IDialogStack
- Derived
Properties
Frames |
The dialog frames active on the stack. |
Methods
Call<R>(IDialog<R>, ResumeAfter<R>) |
Call a child dialog and add it to the top of the stack. |
Done<R>(R) |
Complete the current dialog and return a result to the parent dialog. |
Fail(Exception) |
Fail the current dialog and return an exception to the parent dialog. |
Forward<R,T>(IDialog<R>, ResumeAfter<R>, T, CancellationToken) |
Call a child dialog, add it to the top of the stack and post the item to the child dialog. |
Post<E>(E, ResumeAfter<E>) |
Post an internal event to the queue. |
Reset() |
Resets the stack. |
Wait<R>(ResumeAfter<R>) |
Suspend the current dialog until an external event has been sent to the bot. |
Extension Methods
Forward<R>(IDialogStack, IDialog<R>, ResumeAfter<R>, IMessageActivity, CancellationToken) |
Call a child dialog, add it to the top of the stack and post the message to the child dialog. |
Wait(IDialogStack, ResumeAfter<IMessageActivity>) |
Suspend the current dialog until the user has sent a message to the bot. |