Redigera

Dela via


DataServiceContext.Timeout Property

Definition

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.

Applies to