Initializes a new instance of the MappingException class.

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

Syntax

C#
public DuplicateMappingException(
	string customMessage,
	string type,
	string name
)
Visual Basic
Public Sub New ( _
	customMessage As String, _
	type As String, _
	name As String _
)
Visual C++
public:
DuplicateMappingException(
	String^ customMessage, 
	String^ type, 
	String^ name
)

Parameters

customMessage
Type: System..::..String
The message that describes the error.
type
Type: System..::..String
The type of the duplicate object
name
Type: System..::..String
The name of the duplicate object

See Also