Jaa


CodeAction Constructor

Definition

Initializes a new instance of the CodeAction class.

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)

Parameters

codeHandler
Func<DialogContext,Object,Task<DialogTurnResult>>

Code handler for the action.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to