ActionContext Constructor
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.
Initialiseert een nieuw exemplaar van de ActionContext klasse.
public ActionContext(Microsoft.Bot.Builder.Dialogs.DialogSet dialogs, Microsoft.Bot.Builder.Dialogs.DialogContext parentDialogContext, Microsoft.Bot.Builder.Dialogs.DialogState state, System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Adaptive.ActionState> actions, string changeKey);
new Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext : Microsoft.Bot.Builder.Dialogs.DialogSet * Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.DialogState * System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Adaptive.ActionState> * string -> Microsoft.Bot.Builder.Dialogs.Adaptive.ActionContext
Public Sub New (dialogs As DialogSet, parentDialogContext As DialogContext, state As DialogState, actions As List(Of ActionState), changeKey As String)
Parameters
- dialogs
- DialogSet
De dialoogset om de actiecontext te creëren.
- parentDialogContext
- DialogContext
Context van ouderdialogen.
- state
- DialogState
Huidige dialoogstatus.
- actions
- List<ActionState>
Huidige lijst van resterende acties om uit te voeren.
- changeKey
- String
TurnState-sleutel voor waar ze eventuele veranderingen kunnen doorstaan.