Share via


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.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property RequestTimeout As Integer
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As Integer

value = instance.RequestTimeout

instance.RequestTimeout = value
public int RequestTimeout { get; set; }

Property Value

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

Remarks

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.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Microsoft.SharePoint.Client Namespace