RequestTimeout Property

       

Returns or sets the length, in seconds, to wait before a time-out expires. If a request doesn't respond within the specified time, and if the request was made with the OpenURL method (synchronous), an error is generated; if the request was made with the Execute method, the StateChanged event will occur with an error code. Setting this property to 0 means infinity.

Syntax

object.RequestTimeout = time

The RequestTimeout property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
time The length of time, in seconds, to wait before an error occurs.

Data Type

Long