Gets or sets the time-out value in milliseconds for the System.Net.HttpWebRequest.GetResponse()
and System.Net.HttpWebRequest.GetRequestStream() methods.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public int Timeout { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Timeout As Integer |
J# |
---|
/** @property */
public int get_Timeout()
/** @property */
public void set_Timeout(int value)
|
JScript |
---|
public function get Timeout () : int
public function set Timeout (value : int) |
Field Value
The number of milliseconds to wait before the request times out. The default
is 100,000 milliseconds (100 seconds).
Exceptions
Exception | Condition |
---|
System..::.ArgumentOutOfRangeException |
The value specified is less than zero and is not System.Threading.Timeout.Infinite.
|
See Also