.NET Framework Class Library
DataServiceContext..::.Timeout Property

Gets or sets the time-out option that is 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)
Syntax

Visual Basic (Declaration)
Public Property Timeout As Integer
Visual Basic (Usage)
Dim instance As DataServiceContext
Dim value As Integer

value = instance.Timeout

instance.Timeout = value
C#
public int Timeout { get; set; }
Visual C++
public:
property int Timeout {
    int get ();
    void set (int value);
}
JScript
public function get Timeout () : int
public function set Timeout (value : int)

Property Value

Type: System..::.Int32
An integer that indicates the time interval before time-out of a service request.
Remarks

This value is passed to the Timeout property of the underlying HttpWebRequest 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.

Platforms

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.
Version Information

.NET Framework

Supported in: 3.5 SP1
See Also

Reference

Tags :


Page view tracker