Skip to main content
.NET 6.0+

XPObjectSpace.LoadAsync(Object, CancellationToken) Method

Asynchronously loads the specified XPCollection collection.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

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

Parameters

Name Type Description
collection Object

An XPCollection 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