Share via


IDialogStack.Wait<R>(ResumeAfter<R>) Method

Definition

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

public void Wait<R> (Microsoft.Bot.Builder.Dialogs.ResumeAfter<R> resume);
abstract member Wait : Microsoft.Bot.Builder.Dialogs.ResumeAfter<'R> -> unit
Public Sub Wait(Of R) (resume As ResumeAfter(Of R))

Type Parameters

R

Parameters

resume
ResumeAfter<R>

The method to resume when the event has been received.

Applies to