InactiveTimeout Property
InactiveTimeout Property
Gets and sets the number of seconds to wait after:
Start page execution if no SMEX message is received from the SALT application,
A request to download a web resource, if the resource has not yet been downloaded, or
Phone call completion if the SALT application fails to exit, or to begin handling a new call.
If the timeout is exceeded in any of these cases, TAS takes the actions described under Remarks.
obj.InactiveTimeout = integer
Part |
Description |
---|---|
obj |
An instance of the TAS class. |
integer |
An unsigned integer greater than zero indicates the number of seconds to wait before aborting the application. The integer zero is treated as infinite. |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Registry |
False |
If True, this property value is read from the Registry. |
Restart |
False |
If False, changes to this property take effect without requiring the service to restart. |
DefaultValue |
120 |
Default value for this property. |
MinValue |
0 |
Minimum value for this property. |
Remarks
This property is exposed in the Microsoft Speech Server Management Console snap-in.
If the time-out occurs with Start page execution, an error is logged and execution of the page fails. If the time-out occurs with post-call processing, an error is logged and the application closes. If the timeout occurs during an attempt to download a web resource, TAS aborts the request and, if there is an active call, redirects the caller to a system error page, if one exists. Otherwise, TAS resets the interpreter that was servicing the request.
Windows Management Instrumentation (WMI) Script Example
myComputer = "localhost" ' Use a Locator object to connect to WMI. Set locator = CreateObject("WbemScripting.SWbemLocator") Set namespace = locator.ConnectServer(myComputer, "root/MSS") ' Get the TAS instance. Set tel = namespace.Get("TAS=@") ' Display the property value. WScript.Echo tel.InactiveTimeout ' Set the property value. tel.InactiveTimeout = 120 ' Update the class instance in WMI. tel.Put_