DataServiceContext.Timeout Time Unit

I am trying to determine what unit of time is for the ADO.Net data service timeout property. MSDN Help does not identify it:

http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.timeout.aspx

Can anyone confirm what the value of the property represents?

+4
source share
3 answers

With some testing, it looks like the value determines the number of seconds before the timeout expires.

+2
source

The unit should be in milliseconds (however @eyesnz could not find it to be correct). According to the MSDN properties page DataServiceContext.Timeout :

This value is passed to the Timeout property of the main HttpWebRequest Object. The value must be before any request or update operation is performed for the purpose of the data service may affect the request. The value can be changed between data service requests and the new value will be raised by the next data service request.

Referring to the MSDN page HtppWebRequest.Timeout :

The number of milliseconds waiting before a request timed out. The default value is 100,000 milliseconds (100 seconds).

0
source

Unit of second . The documentation on this has been correctly updated for .Net 4 http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.timeout.aspx

0
source