Note

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

Browser Class

The Browser class in the Microsoft.Speech.VoiceXml namespace provides platform-independent access to the VoiceXML runtime.

Inheritance Hierarchy

System.Object
  Microsoft.Speech.VoiceXml.Browser

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

Syntax

'Declaration
Public MustInherit Class Browser _
    Implements IDisposable
'Usage
Dim instance As Browser
public abstract class Browser : IDisposable

Remarks

Browser is an abstract class that provides a base from which to derive platform-specific classes. The Browser class cannot be used directly. Most developers will use a platform-specific VoiceXML Browser class that derives from the base Browser class.

An active Browser instance contains a VoiceXML interpreter and the system resources that are required to process an automated interaction with a caller including speech engines, a Dual-Tone Multi-Frequency (DTMF) tone controller, a recorder, and connections to audio inputs and outputs.

You can launch a Browser instance in either synchronous or asynchronous mode.

NOTE: Only use the synchronous Run(Uri, CookieContainer) method for prototyping and experimentation. Do not use it in a production application.

During an asynchronous Browser session, events are raised that report the state of the session to the application. At the end of an asynchronous Browser session, the handler for the SessionCompleted event contains information about the result of the session.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Browser Members

Microsoft.Speech.VoiceXml Namespace