使用英语阅读

通过


ClientRuntimeContext.RequestTimeout 属性

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Public Property RequestTimeout As Integer
    Get
    Set
用法
Dim instance As ClientRuntimeContext
Dim value As Integer

value = instance.RequestTimeout

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

属性值

类型: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.

另请参阅

引用

ClientRuntimeContext 类

ClientRuntimeContext 成员

Microsoft.SharePoint.Client 命名空间