CodeAction Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der CodeAction-Klasse.
public CodeAction(Func<Microsoft.Bot.Builder.Dialogs.DialogContext,object,System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>> codeHandler, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.CodeAction : Func<Microsoft.Bot.Builder.Dialogs.DialogContext, obj, System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>> * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.CodeAction
Public Sub New (codeHandler As Func(Of DialogContext, Object, Task(Of DialogTurnResult)), Optional callerPath As String = "", Optional callerLine As Integer = 0)
Parameter
- codeHandler
- Func<DialogContext,Object,Task<DialogTurnResult>>
Code-Handler für die Aktion.
- callerPath
- String
Optional, Quelldatei voller Pfad.
- callerLine
- Int32
Optional, Zeilennummer in der Quelldatei.