Share via


IDialogTask Interface

Definition

public interface IDialogTask : Microsoft.Bot.Builder.Base.IEventLoop, Microsoft.Bot.Builder.Base.IEventProducer<Microsoft.Bot.Connector.IActivity>, Microsoft.Bot.Builder.Dialogs.Internals.IDialogStack
type IDialogTask = interface
    interface IDialogStack
    interface IEventLoop
    interface IEventProducer<IActivity>
Public Interface IDialogTask
Implements IDialogStack, IEventLoop, IEventProducer(Of IActivity)
Derived
Implements

Properties

Frames

The dialog frames active on the stack.

(Inherited from IDialogStack)

Methods

Call<R>(IDialog<R>, ResumeAfter<R>)

Call a child dialog and add it to the top of the stack.

(Inherited from IDialogStack)
Done<R>(R)

Complete the current dialog and return a result to the parent dialog.

(Inherited from IDialogStack)
Fail(Exception)

Fail the current dialog and return an exception to the parent dialog.

(Inherited from IDialogStack)
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.

(Inherited from IDialogStack)
PollAsync(CancellationToken)

Poll the target for any work to be done.

(Inherited from IEventLoop)
Post(Event, Action) (Inherited from IEventProducer<Event>)
Post<E>(E, ResumeAfter<E>)

Post an internal event to the queue.

(Inherited from IDialogStack)
Reset()

Resets the stack.

(Inherited from IDialogStack)
Wait<R>(ResumeAfter<R>)

Suspend the current dialog until an external event has been sent to the bot.

(Inherited from IDialogStack)

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.

InterruptAsync<T,R>(IDialogTask, IDialog<T>, R, CancellationToken)

Interrupt the waiting dialog with a new dialog

Applies to