Initializes a new instance of the PropertyNotFoundException class,
used when a property get/set accessor is missing.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public PropertyNotFoundException( Type targetType, string propertyName, string accessorType ) |
Visual Basic |
---|
Public Sub New ( _ targetType As Type, _ propertyName As String, _ accessorType As String _ ) |
Visual C++ |
---|
public: PropertyNotFoundException( Type^ targetType, String^ propertyName, String^ accessorType ) |
Parameters
- targetType
- 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")