RecognitionChoice(String, IEnumerable<String>) 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 RecognitionChoice.
public RecognitionChoice (string label, System.Collections.Generic.IEnumerable<string> phrases);
new Azure.Communication.CallAutomation.RecognitionChoice : string * seq<string> -> Azure.Communication.CallAutomation.RecognitionChoice
Public Sub New (label As String, phrases As IEnumerable(Of String))
Parameters
- label
- String
Identifier for a given choice.
- phrases
- IEnumerable<String>
List of phrases to recognize.
Exceptions
label
or phrases
is null.