SpeechRecognitionTopicConstraint 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String) |
使用預先定義的案例類型和內容,建立 SpeechRecognitionTopicConstraint 類別的實例。 |
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String) |
使用預先定義的案例類型、內容和識別碼,建立 SpeechRecognitionTopicConstraint 類別的實例。 |
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String)
使用預先定義的案例類型和內容,建立 SpeechRecognitionTopicConstraint 類別的實例。
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)
參數
- scenario
- SpeechRecognitionScenario
預先定義的案例類型。
- topicHint
-
String
Platform::String
winrt::hstring
用來優化辨識的主旨或內容提示。
另請參閱
適用於
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String)
使用預先定義的案例類型、內容和識別碼,建立 SpeechRecognitionTopicConstraint 類別的實例。
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)
參數
- scenario
- SpeechRecognitionScenario
預先定義的案例類型。
- topicHint
-
String
Platform::String
winrt::hstring
用來優化辨識的主旨或內容提示。
- tag
-
String
Platform::String
winrt::hstring
條件約束的識別碼。