Browser Class

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

Syntax

C#
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.

Inheritance Hierarchy

System..::..Object
  Microsoft.Speech.VoiceXml..::..Browser

See Also