Skip to main content
.NET 8.0+

IObjectSpaceAsync.LoadAsync(Object, CancellationToken) Method

Asynchronously loads the specified collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

Task LoadAsync(
    object collection,
    CancellationToken cancellationToken = default(CancellationToken)
)

Parameters

Name Type Description
collection Object

A collection to be loaded.

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

A Task object.

See Also