Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    XPObjectSpace.LoadAsync(Object, CancellationToken) Method

    Asynchronously loads the specified XPCollection collection.

    Namespace: DevExpress.ExpressApp.Xpo

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