Initializes a new instance of the NonUniqueObjectException class.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ id As Object, _ clazz As Type _ ) |
C# |
---|
public NonUniqueObjectException( Object id, Type clazz ) |
Visual C++ |
---|
public: NonUniqueObjectException( Object^ id, Type^ clazz ) |
JavaScript |
---|
NHibernate.NonUniqueObjectException = function(id, clazz); |
Parameters
- id
- Type: System..::.Object
The identifier of the object that caused the exception.
- clazz
- Type: System..::.Type
The Type of the object attempted to be loaded.