SpeechRecognitionEngine.EmulateRecognizeAsync Method (String, CompareOptions, EmulateOptions)

Emulates audio input to the recognition engine, using text in place of audio for asynchronous speech recognition, specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars, and specifies the type of recognition operation to perform.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)


Public Sub EmulateRecognizeAsync ( _
    inputText As String, _
    compareOptions As CompareOptions, _
    emulateOptions As EmulateOptions _
Dim instance As SpeechRecognitionEngine
Dim inputText As String
Dim compareOptions As CompareOptions
Dim emulateOptions As EmulateOptions

instance.EmulateRecognizeAsync(inputText, _
    compareOptions, emulateOptions)
public void EmulateRecognizeAsync(
    string inputText,
    CompareOptions compareOptions,
    EmulateOptions emulateOptions


  • inputText
    Type: System.String
    The text to use as the input phrase.
  • compareOptions
    Type: System.Globalization.CompareOptions
    A bitwise combination of the enumeration values that describe the type of comparison to use for the emulated recognition operation.

See Also


SpeechRecognitionEngine Class

SpeechRecognitionEngine Members

EmulateRecognizeAsync Overload

Microsoft.Speech.Recognition Namespace