Starts a synchronous speech recognition operation.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
These methods perform a single, synchronous recognition operation. The recognizer performs this operation against its loaded and enabled speech recognition grammars.
During a call to this method, the recognizer can raise the following events:
SpeechDetected. Raised when the recognizer detects input that it can identify as speech.
SpeechHypothesized. Raised when input creates an ambiguous match with one of the active grammars.
The recognizer does not raise the RecognizeCompleted event when using one of the methods.
The methods return a RecognitionResult object, or null if the operation is not successful or the recognizer is not enabled.
A synchronous recognition operation can fail for the following reasons:
The recognition engine detects speech but finds no matches in any of its loaded and enabled Grammar objects.
To modify how the recognizer handles the timing of speech or silence with respect to recognition, use the BabbleTimeout, InitialSilenceTimeout, EndSilenceTimeout, and EndSilenceTimeoutAmbiguous properties.
To perform asynchronous recognition, use one of the RecognizeAsync methods.