OnIntent Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the OnIntent class.
public OnIntent (string intent = default, System.Collections.Generic.List<string> entities = 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.OnIntent : string * System.Collections.Generic.List<string> * System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Dialog> * string * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Conditions.OnIntent
Public Sub New (Optional intent As String = Nothing, Optional entities As List(Of String) = Nothing, Optional actions As List(Of Dialog) = Nothing, Optional condition As String = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)
Parameters
- intent
- String
Optional, intent to match on.
- 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.