Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.Timeout Property |
Gets or sets the length of time before the request times out. [Edit]
|
A int indicating the number of milliseconds to wait for a response until the request times out, or System.Threading.Timeout.Infinite to indicate that the request does not time out. [Edit]
Type Reason ArgumentOutOfRangeException A value less than zero and not equal to System.Threading.Timeout.Infinite is specified for a set operation. [Edit]
HttpWebRequest.Timeout is the number of milliseconds that a synchronous request made with the HttpWebRequest.GetResponse method waits for a response. If a resource does not respond within the time-out period, the request throws a System.Net.WebException with the WebException.Status property set to WebExceptionStatus.Timeout.
Note: This property overrides WebRequest.Timeout.[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0