Gets or sets the timeout option used for the underlying HTTP request to the data service.
Namespace:
System.Data.Services.Client
Assembly:
System.Data.Services.Client (in System.Data.Services.Client.dll)
Visual Basic (Declaration)
Public Property Timeout As Integer
Dim instance As DataServiceContext
Dim value As Integer
value = instance.Timeout
instance.Timeout = value
public int Timeout { get; set; }
public:
property int Timeout {
int get ();
void set (int value);
}
public function get Timeout () : int
public function set Timeout (value : int)
Property Value
Type:
System..::.Int32An integer that indicates the time interval before timeout of a service request.
This value is passed directly to the HttpWebRequest Timeout property of the underlying Web request object. The value must be set before executing any query or update operations against the target data service can affect the request. The value may be changed between requests to a data service and the new value will be picked up by the next data service request.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5 SP1
Reference