InvalidPropertyAccessException Constructor
Overloads
| InvalidPropertyAccessException(String, Type, Type) |
Create a new instance of the exception. |
InvalidPropertyAccessException(String, Type, Type)
Create a new instance of the exception.
Declaration
public InvalidPropertyAccessException(string propertyName, Type oType, Type tType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName |
The name of the property being accessed. |
| System.Type | oType |
The type used for accessing the property. |
| System.Type | tType |
The type previously used for accessing the property. |