Share via


Extensions.Wait(IDialogStack, ResumeAfter<IMessageActivity>) Method

Definition

Suspend the current dialog until the user has sent a message to the bot.

public static void Wait (this Microsoft.Bot.Builder.Dialogs.Internals.IDialogStack stack, Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> resume);
static member Wait : Microsoft.Bot.Builder.Dialogs.Internals.IDialogStack * Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> -> unit
<Extension()>
Public Sub Wait (stack As IDialogStack, resume As ResumeAfter(Of IMessageActivity))

Parameters

stack
IDialogStack

The dialog stack.

resume
ResumeAfter<IMessageActivity>

The method to resume when the message has been received.

Applies to