Share via


Note

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

Enumerated Types (Microsoft.Speech)

The enumerated types in the Microsoft.Speech.VoiceXml.Common namespace contain values that describe the state of an asynchronous Browser instance during a VoiceXML session, and the reason that a synchronous or an asynchronous Browser instance exited a VoiceXML session.

DisconnectState Enumeration

The DisconnectState enumeration describes the state of a request to disconnect from a call during an asynchronous Browser session. When the Disconnected event is raised, the State property on the DisconnectedEventArgs instance indicates the DisconnectState.

For more information, see DisconnectState.

ExitReason Enumeration

The ExitReason enumeration specifies the reason that the Browser exited from a VoiceXML document. When the synchronous Run(Uri, CookieContainer) method returns a VoiceXmlResult, its Reason property instance indicates the reason that the Browser exited the VoiceXML page. For asynchronous Browser instances initiated with the RunAsync(Uri, CookieContainer) method, the Result property of the SessionCompletedEventArgs class gets the VoiceXmlResult.

For more information, see ExitReason.

SessionState Enumeration

The SessionState enumeration indicates the state of an asynchronous VoiceXML Browser session.

For more information, see SessionState.

TransferState Enumeration

The TransferState enumeration indicates the state of a VoiceXML phone call transfer request during an asynchronous Browser session.

For more information, see TransferState.

TransferType Enumeration

The TransferType enumeration indicates the type of phone call transfer to be performed during an asynchronous Browser session.

Note

Although the TransferType enumeration contains all three types of transfers defined in the VoiceXML 2.1 standard, the current version of the VoiceXML runtime supports only the Blind transfer type.

For more information, see TransferType.