1 out of 1 rated this helpful - Rate this topic

ClientRuntimeContext.ExecuteQueryAsync Method

SharePoint 2010

Executes the current pending request asynchronously on the server.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll)
public virtual void ExecuteQueryAsync(
	ClientRequestSucceededEventHandler succeededCallback,
	ClientRequestFailedEventHandler failedCallback
)

Parameters

succeededCallback
Type: Microsoft.SharePoint.Client.ClientRequestSucceededEventHandler
The ClientRequestSucceededEventHandler object that represents the delegate of the method that is called when the request is executed successfully.
failedCallback
Type: Microsoft.SharePoint.Client.ClientRequestFailedEventHandler
The ClientRequestSucceededEventHandler object that represents the delegate of the method that is called when the request is executed unsuccessfully.

This virtual method is “asynchronous”, which means that the code will continue to be executed without waiting for the server to respond.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ