DataServiceContext.Timeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the time-out option that is used for the underlying HTTP request to the data service.
public:
property int Timeout { int get(); void set(int value); };
public int Timeout { get; set; }
member this.Timeout : int with get, set
Public Property Timeout As Integer
Property Value
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.