ClientRuntimeContext.ExecuteQueryAsync Method (ClientRequestSucceededEventHandler, ClientRequestFailedEventHandler)

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)

Syntax

'Declaration
Public Overridable Sub ExecuteQueryAsync ( _
    succeededCallback As ClientRequestSucceededEventHandler, _
    failedCallback As ClientRequestFailedEventHandler _
)
'Usage
Dim instance As ClientRuntimeContext
Dim succeededCallback As ClientRequestSucceededEventHandler
Dim failedCallback As ClientRequestFailedEventHandler

instance.ExecuteQueryAsync(succeededCallback, _
    failedCallback)
public virtual void ExecuteQueryAsync(
    ClientRequestSucceededEventHandler succeededCallback,
    ClientRequestFailedEventHandler failedCallback
)

Parameters

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

ClientRuntimeContext Class

ClientRuntimeContext Members

ExecuteQueryAsync Overload

Microsoft.SharePoint.Client Namespace