Skip to main content

CannotLoadInvalidTypeException Class

An exception that is thrown when a persistent object cannot be loaded because it’s type is not valid.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public class CannotLoadInvalidTypeException :
    Exception

Remarks

This exception is thrown when a persistent object cannot be loaded because it’s type is not valid (for instance, the assembly in which this type is declared is not accessible).

Solution:

- check that the required object type is accessible.

Inheritance

Object
Exception
CannotLoadInvalidTypeException
See Also