Język

ActionContext Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy ActionContext.

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)

Parametry

dialogs
DialogSet

Zestaw dialogowy do tworzenia kontekstu akcji dla.

parentDialogContext
DialogContext

Kontekst dialogu rodzica.

state
DialogState

Obecny stan dialogu.

actions
List<ActionState>

Aktualna lista pozostałych działań do wykonania.

changeKey
String

TurnState kluczowy, by kontynuować wszelkie zmiany.

Dotyczy