PatternMatchingIntent Constructors

Definition

Overloads

PatternMatchingIntent(String)

Creates a pattern matching intent using the specified intent Id.

PatternMatchingIntent(String, IEnumerable<String>)

Creates a pattern matching intent using the specified intent Id and collection of phrases.

PatternMatchingIntent(String, String[])

Creates a pattern matching intent using the specified intent Id.

PatternMatchingIntent(String)

Creates a pattern matching intent using the specified intent Id.

public PatternMatchingIntent (string intentId);
new Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent : string -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent
Public Sub New (intentId As String)

Parameters

intentId
String

A string that represents a unique Id for this intent.

Applies to

PatternMatchingIntent(String, IEnumerable<String>)

Creates a pattern matching intent using the specified intent Id and collection of phrases.

public PatternMatchingIntent (string intentId, System.Collections.Generic.IEnumerable<string> phrases);
new Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent : string * seq<string> -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent
Public Sub New (intentId As String, phrases As IEnumerable(Of String))

Parameters

intentId
String

A string that represents a unique Id for this intent.

phrases
IEnumerable<String>

A list of phrases to be use to match the intent.

Applies to

PatternMatchingIntent(String, String[])

Creates a pattern matching intent using the specified intent Id.

public PatternMatchingIntent (string intentId, params string[] phrases);
new Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent : string * string[] -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingIntent
Public Sub New (intentId As String, ParamArray phrases As String())

Parameters

intentId
String

A string that represents a unique Id for this intent.

phrases
String[]

A list of phrases to be use to match the intent.

Applies to