Thrown when an invalid type is specified as a proxy for a class. The exception is also thrown when a class is specified as lazy, but cannot be used as a proxy for itself.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class InvalidProxyTypeException : MappingException
Visual Basic
<SerializableAttribute> _
Public Class InvalidProxyTypeException _
	Inherits MappingException
Visual C++
[SerializableAttribute]
public ref class InvalidProxyTypeException : public MappingException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..MappingException
          NHibernate..::..InvalidProxyTypeException

See Also