Partager via


IOrganizationServiceAsync2.RetrieveMultipleAsync Method

Definition

Retrieves a collection of entities.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.EntityCollection> RetrieveMultipleAsync (Microsoft.Xrm.Sdk.Query.QueryBase query, System.Threading.CancellationToken cancellationToken);
[<System.ServiceModel.OperationContract>]
abstract member 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

A collection containing the results of the query.

Attributes

Applies to