ExitReason Enumeration

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Contains a list of reasons that indicate why a Browser instance exited from a VoiceXML page.

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

Syntax

C#
public enum ExitReason

Members

Member nameValueDescription
None0
No exit reason is given.
HostExitRequested1
The application called the StopAsync()()()() method.
ExitElementEncountered2
The VoiceXML interpreter encountered and processed an <exit> element on a VoiceXML page.
DialogEndEncountered3
The VoiceXML interpreter arrived at the end of a dialog and there was no successor element.
UnhandledPageException4
An exception is thrown in processing the VoiceXML page that is not handled by the VoiceXML <error> element.
MalFormedXml5
The Browser encountered errors in the syntax or structure of the VoiceXML page.
ServerNotAvailable6
The server that contains the VoiceXML start page could not be contacted.
AudioTerminated7
The audio that was present at the input connection can no longer be detected.
PageNotFound8
The page specified by the URI parameter in a Run(Uri, CookieContainer) or RunAsync(Uri, CookieContainer) method could not be retrieved.
UnknownExit2147483647
The reason for the exit could not be determined.

Remarks

The Reason property of the VoiceXmlResult class gets the ExitReason when the Browser exits a VoiceXML page. For synchronous Browser instances, the VoiceXmlResult is returned by the Run(Uri, CookieContainer) method. For asynchronous Browser instances, initiated with the RunAsync(Uri, CookieContainer) method, the SessionCompletedEventArgs class contains the VoiceXmlResult.

See Also