Back to Devexpress

NonPersistentReferenceFoundException Class

xpo-devexpress-dot-xpo-dot-exceptions-5fb35502.md

latest1.6 KB
Original Source

NonPersistentReferenceFoundException Class

An exception that is thrown when a persistent reference to a non-persistent class exists.

Namespace : DevExpress.Xpo.Exceptions

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public class NonPersistentReferenceFoundException :
    Exception
vb
Public Class NonPersistentReferenceFoundException
    Inherits Exception

Remarks

This exception is raised when a persistent reference to a non-persistent class exists. For instance, a persistent object contains an Array property of the ArrayList class and this property is marked with the PersistentAttribute attribute. The ArrayList class is non-persistent, so the NonPersistentReferenceFoundException will be raised.

Solution:

  • ensure that a persistent reference denotes a persistent object.

Inheritance

Object Exception NonPersistentReferenceFoundException

See Also

NonPersistentReferenceFoundException Members

DevExpress.Xpo.Exceptions Namespace