Share via


ServiceClient.RetrieveMultipleAsync Method

Definition

Overloads

RetrieveMultipleAsync(QueryBase)

Retrieves a collection of entities

RetrieveMultipleAsync(QueryBase, CancellationToken)

Retrieves a collection of entities

RetrieveMultipleAsync(QueryBase)

Retrieves a collection of entities

public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection> RetrieveMultipleAsync (Microsoft.Xrm.Sdk.Query.QueryBase query);
abstract member RetrieveMultipleAsync : Microsoft.Xrm.Sdk.Query.QueryBase -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection>
override this.RetrieveMultipleAsync : Microsoft.Xrm.Sdk.Query.QueryBase -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection>
Public Function RetrieveMultipleAsync (query As QueryBase) As Task(Of EntityCollection)

Parameters

query
QueryBase

Returns

Returns an EntityCollection Object containing the results of the query

Implements

Applies to

RetrieveMultipleAsync(QueryBase, CancellationToken)

Retrieves a collection of entities

public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection> RetrieveMultipleAsync (Microsoft.Xrm.Sdk.Query.QueryBase query, System.Threading.CancellationToken cancellationToken);
abstract member RetrieveMultipleAsync : Microsoft.Xrm.Sdk.Query.QueryBase * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection>
override this.RetrieveMultipleAsync : Microsoft.Xrm.Sdk.Query.QueryBase * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection>
Public Function RetrieveMultipleAsync (query As QueryBase, cancellationToken As CancellationToken) As Task(Of EntityCollection)

Parameters

query
QueryBase
cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Returns an EntityCollection Object containing the results of the query

Implements

Applies to