Initializes a new instance of the MappingException class.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ customMessage As String, _ type As String, _ name As String _ ) |
C# |
---|
public DuplicateMappingException( string customMessage, string type, string name ) |
Visual C++ |
---|
public: DuplicateMappingException( String^ customMessage, String^ type, String^ name ) |
JavaScript |
---|
NHibernate.DuplicateMappingException = function(customMessage, type, 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