SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback) Method
Applies to: SharePoint Foundation 2010
Executes the current pending request asynchronously on the server.
SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback);
Parameters
- 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
Applies To
Remarks
This virtual method is "asynchronous", which means that the code will continue to be executed without waiting for the server to respond.
See Also
Reference
SP.ClientRuntimeContext Methods