Share via


ClientRuntimeContext.ExecuteQuery method

Executes the current set of data retrieval queries and method invocations.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Overridable Sub ExecuteQuery
'Usage
Dim instance As ClientRuntimeContext

instance.ExecuteQuery()
public virtual void ExecuteQuery()

Remarks

This virtual method is “synchronous”, which means that code execution is blocked until a response is received from the server. If the caller does not want to be blocked and the caller is managed, the caller should evoke the ExecuteQueryAsync method.

See also

Reference

ClientRuntimeContext class

ClientRuntimeContext members

Microsoft.SharePoint.Client namespace