Initializes a new instance of the PropertyValueException class.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public PropertyValueException(
	string message,
	string entityName,
	string propertyName
)
Visual Basic
Public Sub New ( _
	message As String, _
	entityName As String, _
	propertyName As String _
)
Visual C++
public:
PropertyValueException(
	String^ message, 
	String^ entityName, 
	String^ propertyName
)

Parameters

message
Type: System..::..String
The message that describes the error.
entityName
Type: System..::..String
The Type that NHibernate was trying to access.
propertyName
Type: System..::..String
The name of the Property that was being get/set.

See Also