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 name | Value | Description | |
---|---|---|---|
None | 0 |
No exit reason is given.
| |
HostExitRequested | 1 |
The application called the StopAsync()()()() method.
| |
ExitElementEncountered | 2 |
The VoiceXML interpreter encountered and processed an <exit>
element on a VoiceXML page.
| |
DialogEndEncountered | 3 |
The VoiceXML interpreter arrived at the end of a dialog and
there was no successor element.
| |
UnhandledPageException | 4 |
An exception is thrown in processing the VoiceXML page that
is not handled by the VoiceXML <error> element.
| |
MalFormedXml | 5 |
The Browser encountered errors in the syntax or structure of the VoiceXML page.
| |
ServerNotAvailable | 6 |
The server that contains the VoiceXML start page could not be contacted.
| |
AudioTerminated | 7 |
The audio that was present at the input connection can no longer
be detected.
| |
PageNotFound | 8 |
The page specified by the URI parameter in a
Run(Uri, CookieContainer) or
RunAsync(Uri, CookieContainer)
method could not be retrieved.
| |
UnknownExit | 2147483647 |
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.