Initializes a new instance of the MappingException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	type As String, _
	name As String _
)
C#
public DuplicateMappingException(
	string type,
	string name
)
Visual C++
public:
DuplicateMappingException(
	String^ type, 
	String^ name
)
JavaScript
NHibernate.DuplicateMappingException = function(type, name);

Parameters

type
Type: System..::.String
The type of the duplicate object
name
Type: System..::.String
The name of the duplicate object

See Also