Export (0) Print
Expand All

ClientRuntimeContext.RequestTimeout property

Gets or sets the requested time-out value in milliseconds.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

public int RequestTimeout { get; set; }

Property value

Type: System.Int32
The requested time-out value in milliseconds.

With a .NET managed application client, the time-out is applied to the HttpWebRequest class that is used to send request to the server. In the Silverlight Library, because the HttpWebRequest class does not support time-out, it is only used when the ExecuteQueryAsync method is called. A value of Timeout.Infinite implies that there is no time-out.

Show:
© 2014 Microsoft