Session.GetObjectsAsync(ObjectsQuery[], CancellationToken) Method
Asynchronously retrieves persistent objects obtained from specified queries.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| queries | ObjectsQuery[] | An array of ObjectsQuery objects that specify queries executed to retrieve persistent objects. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| cancellationToken | CancellationToken | null | A CancellationToken object that delivers a cancellation notice to the running operation. |
Returns
| Type | Description |
|---|---|
| Task<ICollection[]> | A Task that returns a collection of obtained persistent objects. |
Remarks
This member supports the internal infrastructure and is not intended to be used directly from your code. To asynchronously get objects from a session, call the LoadAsync method of the XPCollection or XPView component.
See Also