The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetObjectsAsync(ObjectsQuery[], AsyncLoadObjectsCallback) Method

Asynchronously gets a collection of persistent objects that match the specified criteria and notifies upon completion.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public virtual object GetObjectsAsync(
    ObjectsQuery[] queries,
    AsyncLoadObjectsCallback callback
)
Public Overridable Function GetObjectsAsync(
    queries As ObjectsQuery(),
    callback As AsyncLoadObjectsCallback
) As Object
public virtual object GetObjectsAsync(
    ObjectsQuery[] queries,
    AsyncLoadObjectsCallback callback
)
Public Overridable Function GetObjectsAsync(
    queries As ObjectsQuery(),
    callback As AsyncLoadObjectsCallback
) As Object

Parameters

Name Type Description
queries ObjectsQuery[]

The search queries.

callback DevExpress.Xpo.Helpers.AsyncLoadObjectsCallback

A DevExpress.Xpo.Helpers.AsyncLoadObjectsCallback delegate to be called after the collection has been retrieved. This collection is passed as a parameter to callback.

Parameters

Name Type Description
queries ObjectsQuery[]

The search queries.

callback DevExpress.Xpo.Helpers.AsyncLoadObjectsCallback

A DevExpress.Xpo.Helpers.AsyncLoadObjectsCallback delegate to be called after the collection has been retrieved. This collection is passed as a parameter to callback.

Returns

Type Description
Object

An object identifying the current asynchronous operation, intended for internal use.

Returns

Type Description
Object

An object identifying the current asynchronous operation, intended for internal use.

Remarks

This member supports the internal infrastructure and is not intended to be used directly from your code. To asynchronously get objects from a session, call the LoadAsync method of the XPCollection or XPView component.

See Also