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 (in seconds) that is used for the underlying HTTP request to the data service.
public virtual int Timeout { get; set; }
member this.Timeout : int with get, set
Public Overridable Property Timeout As Integer
Property Value
An integer that indicates the time interval (in seconds) before time-out of a service request.
Remarks
A value of 0 will use the default timeout of the underlying HTTP request. This value must be set before executing any query or update operations against the target data service for it to have effect on the on 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.