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