Back to Devexpress

CannotLoadInvalidTypeException Class

xpo-devexpress-dot-xpo-dot-exceptions-fc94ac9c.md

latest1.4 KB
Original Source

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

NuGet Package : DevExpress.Xpo

Declaration

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

CannotLoadInvalidTypeException Members

DevExpress.Xpo.Exceptions Namespace