Export (0) Print
Expand All

DataServiceContext.Timeout Property

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public int Timeout { get; set; }

Property Value

Type: System.Int32
An integer that indicates the time interval (in seconds) before time-out of a service request.

This value is converted from seconds and 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.

Show:
© 2014 Microsoft