Språk

ActionContext Konstruktor

Definition

Initierar en ny instans av ActionContext klassen.

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)

Parametrar

dialogs
DialogSet

Dialogen som är inställd för att skapa handlingskontexten för.

parentDialogContext
DialogContext

Föräldradialogens kontext.

state
DialogState

Nuvarande dialogstatus.

actions
List<ActionState>

Aktuell lista över återstående åtgärder att utföra.

changeKey
String

TurnState-nyckel för var för att upprätthålla eventuella förändringar.

Gäller för