Share via


WebRequest.Timeout Property

Gets or sets the length of time, in milliseconds, before the request times out.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public virtual int Timeout { get; set; }

Property Value

The length of time, in milliseconds, until the request times out, or the value Timeout.Infinite to indicate that the request does not time out. The default value is defined by the descendant class.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

WebRequest Class
WebRequest Members
System.Net Namespace