Initializes a new instance of the PropertyNotFoundException class,
used when a field is missing.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ type As Type, _ fieldName As String _ ) |
C# |
---|
public PropertyNotFoundException( Type type, string fieldName ) |
Visual C++ |
---|
public: PropertyNotFoundException( Type^ type, String^ fieldName ) |
JavaScript |
---|
NHibernate.PropertyNotFoundException = function(type, fieldName); |
Parameters
- type
- Type: System..::.Type
The Type that is missing the field
- fieldName
- Type: System..::.String
The name of the missing property