SessionObjectLayer.LoadCollectionObjectsAsync(Session, XPMemberInfo, Object, CancellationToken) Method
In This Article
Performs object layer specific operations that are required to asynchronously load a collection property using specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public Task<object[]> LoadCollectionObjectsAsync(
Session session,
XPMemberInfo refProperty,
object owner,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to asynchronously load collection objects. |
ref |
XPMember |
The owner |
owner | Object | The object that owns the collection property. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<Object[]> | A Task |
See Also