0
SpeechRecognizerUI sr = new SpeechRecognizerUI();
sr.Settings.ListenText = "Say the recipient and body of the E-Mail";
sr.Settings.ExampleText = "Mom saying Happy Mother's Day";
//await Speak("Say the recipient and body of the E-Mail"); // TTS prompt
var recoResult = await sr.RecognizeWithUIAsync();
MessageBox.Show(recoResult.RecognitionResult.Text);

これにより、未処理の例外がスローされ、WP8 アプリがクラッシュします。これを修正するにはどうすればよいですか?

4

1 に答える 1