ActionContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ActionContext class.
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
The dialog set to create the action context for.
- parentDialogContext
- DialogContext
Parent dialog context.
- state
- DialogState
Current dialog state.
- actions
- List<ActionState>
Current list of remaining actions to execute.
- changeKey
- String
TurnState key for were to persist any changes.