Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechRecognitionEngine.SetInputToNull Method

Disables the input to the speech recognizer.

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

Syntax

'Declaration
Public Sub SetInputToNull
'Usage
Dim instance As SpeechRecognitionEngine

instance.SetInputToNull()
public void SetInputToNull()

Remarks

Configure the SpeechRecognitionEngine object for no input when using the EmulateRecognize and EmulateRecognizeAsync methods, or when taking a recognition engine temporarily off line.

See Also

Reference

SpeechRecognitionEngine Class

SpeechRecognitionEngine Members

Microsoft.Speech.Recognition Namespace

SetInputToAudioStream

SetInputToDefaultAudioDevice

SetInputToWaveFile

SetInputToWaveStream