SessionObjectLayer.LoadDelayedPropertiesAsync(Session, IList, XPMemberInfo, CancellationToken) Method
Asynchronously loads data from a session to an object’s specific properties marked for delayed loading.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v20.2.dll
NuGet Package: DevExpress.Xpo
NuGet Packages: DevExpress.WindowsDesktop.Xpo, DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve data for delayed properties. |
objects | IList | A list of persistent objects that contain the delayed property specified by the property. |
property | XPMemberInfo | An XPMemberInfo object specifying a delayed property that accepts the data the LoadDelayedPropertiesAsync method loads. |
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<DevExpress.Xpo.Helpers.ObjectDictionary<Object>> | A Task that returns an array of loaded property values. |