Delen via


OnIntent Constructor

Definitie

Initialiseert een nieuw exemplaar van de OnIntent klasse.

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

Optioneel, intentie om overeen te komen op.

entities
List<String>

Optioneel, entiteiten die moeten worden herkend om deze regel te activeren.

actions
List<Dialog>

Optioneel, acties die aan het plan moeten worden toegevoegd wanneer aan de regelbeperkingen wordt voldaan.

condition
String

Optioneel, voorwaarde waaraan moet worden voldaan om de acties uit te voeren.

callerPath
String

Optioneel, volledig pad naar bronbestand.

callerLine
Int32

Optioneel, regelnummer in bronbestand.

Van toepassing op