Share via


RecognitionChoice(String, IEnumerable<String>) Constructor

Definition

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.

Applies to