Jaa


OnActivity(String, List<Dialog>, String, String, Int32) Constructor

Definition

Initializes a new instance of the OnActivity class.

public OnActivity (string type = default, System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Dialog> actions = default, string condition = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnActivity : string * System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Dialog> * string * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnActivity
Public Sub New (Optional type As String = Nothing, Optional actions As List(Of Dialog) = Nothing, Optional condition As String = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

type
String

Optional, ActivityType which must be matched for this event to trigger.

actions
List<Dialog>

Optional, list of Dialog actions.

condition
String

Optional, condition which needs to be met for the actions to be executed.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to