Initializes a new instance of the MappingException class.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public DuplicateMappingException( string type, string name ) |
Visual Basic |
---|
Public Sub New ( _ type As String, _ name As String _ ) |
Visual C++ |
---|
public: DuplicateMappingException( String^ type, String^ name ) |
Parameters
- type
- Type: System..::..String
The type of the duplicate object
- name
- Type: System..::..String
The name of the duplicate object