This documentation is archived and is not being maintained.
SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback) Method
Last modified: March 22, 2010
Applies to: SharePoint Foundation 2010
Executes the current pending request asynchronously on the server.
SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback);
-
succeededCallback
-
The SP.ClientRequestSucceededEventArgs Class object that represents the delegate of the method that is called when the request is executed successfully.
Type: SP.ClientRequestSucceededEventHandler
-
failedCallback
-
The SP.ClientRequestSucceededEventArgs Class object that represents the delegate of the method that is called when the request is executed unsuccessfully.
Type: SP.ClientRequestFailedEventHandler
This virtual method is "asynchronous", which means that the code will continue to be executed without waiting for the server to respond.