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

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.v20.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