Share via


DialogSet Constructors

Definition

Overloads

DialogSet()

Initializes a new instance of the DialogSet class with null DialogState.

DialogSet(IStatePropertyAccessor<DialogState>)

Initializes a new instance of the DialogSet class.

DialogSet()

Initializes a new instance of the DialogSet class with null DialogState.

public DialogSet ();
Public Sub New ()

Applies to

DialogSet(IStatePropertyAccessor<DialogState>)

Initializes a new instance of the DialogSet class.

public DialogSet (Microsoft.Bot.Builder.IStatePropertyAccessor<Microsoft.Bot.Builder.Dialogs.DialogState> dialogState);
new Microsoft.Bot.Builder.Dialogs.DialogSet : Microsoft.Bot.Builder.IStatePropertyAccessor<Microsoft.Bot.Builder.Dialogs.DialogState> -> Microsoft.Bot.Builder.Dialogs.DialogSet
Public Sub New (dialogState As IStatePropertyAccessor(Of DialogState))

Parameters

dialogState
IStatePropertyAccessor<DialogState>

The state property accessor with which to manage the stack for this dialog set.

Remarks

To start and control the dialogs in this dialog set, create a DialogContext and use its methods to start, continue, or end dialogs. To create a dialog context, call CreateContextAsync(ITurnContext, CancellationToken).

Applies to