Share via


DataServiceContext.ReadWriteTimeout Property

Definition

Gets or sets the readwrite time-out option (in seconds) that is used for the underlying HTTP request to the data service.

public virtual int ReadWriteTimeout { get; set; }
member this.ReadWriteTimeout : int with get, set
Public Overridable Property ReadWriteTimeout As Integer

Property Value

An integer that indicates the time interval (in seconds) before readwritetime-out of a service request.

Remarks

A value of 0 will use the default readwritetimeout 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.

Applies to