Skip to main content Skip to complementary content

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!