Skip to main content
A newer version of this page is available. .

CannotLoadObjectsException Class

An exception that is thrown when attempting to reload an object that is not present in a persistent data store.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public class CannotLoadObjectsException :
    Exception

Remarks

This exception is raised when the Reload method (for instance, the Session.Reload method) is called for an object that has been deleted from a data store.

Solution:

  • Check your code for errors. Do not call the Reload method for deleted objects.

Inheritance

Object
Exception
CannotLoadObjectsException
See Also