ClientRuntimeContext.ExecuteQueryAsync 方法 (ClientRequestSucceededEventHandler, ClientRequestFailedEventHandler)
命名空间: 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 中)
语法
声明
Public Overridable Sub ExecuteQueryAsync ( _
succeededCallback As ClientRequestSucceededEventHandler, _
failedCallback As ClientRequestFailedEventHandler _
)
用法
Dim instance As ClientRuntimeContext
Dim succeededCallback As ClientRequestSucceededEventHandler
Dim failedCallback As ClientRequestFailedEventHandler
instance.ExecuteQueryAsync(succeededCallback, _
failedCallback)
public virtual void ExecuteQueryAsync(
ClientRequestSucceededEventHandler succeededCallback,
ClientRequestFailedEventHandler failedCallback
)
参数
- succeededCallback
类型:Microsoft.SharePoint.Client.ClientRequestSucceededEventHandler
- failedCallback
类型:Microsoft.SharePoint.Client.ClientRequestFailedEventHandler