Back to Devexpress

CannotLoadObjectsException Class

xpo-devexpress-dot-xpo-dot-exceptions-07b7f3d7.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public class CannotLoadObjectsException :
    Exception
vb
Public Class CannotLoadObjectsException
    Inherits 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

CannotLoadObjectsException Members

Delete()

Delete

DevExpress.Xpo.Exceptions Namespace