Share via


DialogState Constructors

Definition

Overloads

DialogState()

Initializes a new instance of the DialogState class.

DialogState(List<DialogInstance>)

Initializes a new instance of the DialogState class.

DialogState()

Initializes a new instance of the DialogState class.

public DialogState ();
Public Sub New ()

Remarks

The new instance is created with an empty dialog stack.

See also

Applies to

DialogState(List<DialogInstance>)

Initializes a new instance of the DialogState class.

public DialogState (System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.DialogInstance> stack);
new Microsoft.Bot.Builder.Dialogs.DialogState : System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.DialogInstance> -> Microsoft.Bot.Builder.Dialogs.DialogState
Public Sub New (stack As List(Of DialogInstance))

Parameters

stack
List<DialogInstance>

The state information to initialize the stack with.

Remarks

The new instance has a dialog stack that is populated using the information in stack.

Applies to