Initializes a new instance of the WrongClassException class.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public WrongClassException( string message, Object identifier, string entityName ) |
Visual Basic |
---|
Public Sub New ( _ message As String, _ identifier As Object, _ entityName As String _ ) |
Visual C++ |
---|
public: WrongClassException( String^ message, Object^ identifier, String^ entityName ) |
Parameters
- message
- Type: System..::..String
The message that describes the error.
- identifier
- Type: System..::..Object
The identifier of the object that was being loaded.
- entityName
- Type: System..::..String
The name of entity that NHibernate was told to load.