SpeechRecognitionEngine.SetInputToNull 方法

定义

禁用到语音识别器的输入。Disables the input to the speech recognizer.

public:
 void SetInputToNull();
public void SetInputToNull ();
member this.SetInputToNull : unit -> unit
Public Sub SetInputToNull ()

注解

SpeechRecognitionEngineEmulateRecognize使用和EmulateRecognizeAsync方法时,或者当暂时使识别引擎脱机时,将对象配置为不输入。Configure the SpeechRecognitionEngine object for no input when using the EmulateRecognize and EmulateRecognizeAsync methods, or when taking a recognition engine temporarily off line.

适用于

另请参阅