Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPObjectSpace.LoadAsync(Object, CancellationToken) Method

Asynchronously loads the specified XPCollection collection.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v20.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