DialogContext Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
DialogContext(DialogSet, DialogContext, DialogState) |
Initialiseert een nieuw exemplaar van de DialogContext klasse. |
DialogContext(DialogSet, ITurnContext, DialogState) |
Initialiseert een nieuw exemplaar van de DialogContext klasse vanuit de turncontext. |
DialogContext(DialogSet, DialogContext, DialogState)
Initialiseert een nieuw exemplaar van de DialogContext klasse.
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
Bovenliggende dialoogvensterset.
- parentDialogContext
- DialogContext
Context van bovenliggend dialoogvenster.
- state
- DialogState
Huidige dialoogvensterstatus.
Van toepassing op
DialogContext(DialogSet, ITurnContext, DialogState)
Initialiseert een nieuw exemplaar van de DialogContext klasse vanuit de turncontext.
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
Het dialoogvenster dat is ingesteld om de dialoogvenstercontext voor te maken.
- turnContext
- ITurnContext
De huidige turncontext.
- state
- DialogState
De statuseigenschap waaruit de dialoogvenstercontext moet worden opgehaald.