Initializes a new instance of the NonUniqueObjectException class.

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

Syntax

C#
public NonUniqueObjectException(
	string message,
	Object id,
	string entityName
)
Visual Basic
Public Sub New ( _
	message As String, _
	id As Object, _
	entityName As String _
)
Visual C++
public:
NonUniqueObjectException(
	String^ message, 
	Object^ id, 
	String^ entityName
)

Parameters

message
Type: System..::..String
The message that describes the error.
id
Type: System..::..Object
The identifier of the object that caused the exception.
entityName
Type: System..::..String
The EntityName of the object attempted to be loaded.

See Also