DialogContext Constructors

Definition

Overloads

DialogContext(DialogSet, DialogContext, DialogState)

Initializes a new instance of the DialogContext class.

DialogContext(DialogSet, ITurnContext, DialogState)

Initializes a new instance of the DialogContext class from the turn context.

DialogContext(DialogSet, DialogContext, DialogState)

Initializes a new instance of the DialogContext class.

public DialogContext (Microsoft.Bot.Builder.Dialogs.DialogSet dialogs, Microsoft.Bot.Builder.Dialogs.DialogContext parentDialogContext, Microsoft.Bot.Builder.Dialogs.DialogState state);
new Microsoft.Bot.Builder.Dialogs.DialogContext : Microsoft.Bot.Builder.Dialogs.DialogSet * Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.DialogState -> Microsoft.Bot.Builder.Dialogs.DialogContext
Public Sub New (dialogs As DialogSet, parentDialogContext As DialogContext, state As DialogState)

Parameters

dialogs
DialogSet

Parent dialog set.

parentDialogContext
DialogContext

Parent dialog context.

state
DialogState

Current dialog state.

Applies to

DialogContext(DialogSet, ITurnContext, DialogState)

Initializes a new instance of the DialogContext class from the turn context.

public DialogContext (Microsoft.Bot.Builder.Dialogs.DialogSet dialogs, Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Builder.Dialogs.DialogState state);
new Microsoft.Bot.Builder.Dialogs.DialogContext : Microsoft.Bot.Builder.Dialogs.DialogSet * Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.Dialogs.DialogState -> Microsoft.Bot.Builder.Dialogs.DialogContext
Public Sub New (dialogs As DialogSet, turnContext As ITurnContext, state As DialogState)

Parameters

dialogs
DialogSet

The dialog set to create the dialog context for.

turnContext
ITurnContext

The current turn context.

state
DialogState

The state property from which to retrieve the dialog context.

Applies to