Extensions.Wait(IDialogStack, ResumeAfter<IMessageActivity>) Method
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.
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.