Share via


Note

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

Browser.SetInputToNull Method

Assigns a null device as the input to the speech recognition engine.

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

Syntax

'Declaration
Protected Sub SetInputToNull
'Usage

Me.SetInputToNull()
protected void SetInputToNull()

Exceptions

Exception Condition
InvalidOperationException

Thrown when the SetInputToNull() method is called on a Browser instance that is running.

Remarks

This detaches the audio input without disconnecting from the speech recognition engine.

See Also

Reference

Browser Class

Browser Members

Microsoft.Speech.VoiceXml Namespace