SpeechRecognitionTopicConstraint Constructors

Definition

Overloads

SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String)

Creates an instance of the SpeechRecognitionTopicConstraint class by using a pre-defined scenario type and context.

SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String)

Creates an instance of the SpeechRecognitionTopicConstraint class by using a pre-defined scenario type, context, and an identifier.

SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String)

Creates an instance of the SpeechRecognitionTopicConstraint class by using a pre-defined scenario type and context.

public:
 SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, Platform::String ^ topicHint);
 SpeechRecognitionTopicConstraint(SpeechRecognitionScenario const& scenario, winrt::hstring const& topicHint);
public SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, string topicHint);
function SpeechRecognitionTopicConstraint(scenario, topicHint)
Public Sub New (scenario As SpeechRecognitionScenario, topicHint As String)

Parameters

scenario
SpeechRecognitionScenario

A predefined scenario type.

topicHint
String

Platform::String

winrt::hstring

A subject, or context hint, used to optimize recognition.

See also

Applies to

SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String)

Creates an instance of the SpeechRecognitionTopicConstraint class by using a pre-defined scenario type, context, and an identifier.

public:
 SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, Platform::String ^ topicHint, Platform::String ^ tag);
 SpeechRecognitionTopicConstraint(SpeechRecognitionScenario const& scenario, winrt::hstring const& topicHint, winrt::hstring const& tag);
public SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, string topicHint, string tag);
function SpeechRecognitionTopicConstraint(scenario, topicHint, tag)
Public Sub New (scenario As SpeechRecognitionScenario, topicHint As String, tag As String)

Parameters

scenario
SpeechRecognitionScenario

A predefined scenario type.

topicHint
String

Platform::String

winrt::hstring

A subject, or context hint, used to optimize recognition.

tag
String

Platform::String

winrt::hstring

Identifier for the constraint.

See also

Applies to