IOrganizationServiceAsync2.RetrieveMultipleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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