PropertyConstraintException Constructor
Initializes a new instance of the PropertyConstraintException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | PropertyConstraintException() | Initializes a new instance of the PropertyConstraintException class. |
![]() | PropertyConstraintException(String) | Initializes a new instance of the PropertyConstraintException class. |
![]() | PropertyConstraintException(String, Exception) | Initializes a new instance of the PropertyConstraintException class with supplied message and inner exception |
![]() | PropertyConstraintException(String, String) | Initializes a new instance of the PropertyConstraintException class. |
![]() | PropertyConstraintException(String, String, Exception) | Initializes a new instance of the PropertyConstraintException class. |
PropertyConstraintException Constructor ()
Initializes a new instance of the PropertyConstraintException class.
PropertyConstraintException Constructor (String)
Initializes a new instance of the PropertyConstraintException class.
Parameters
- message
-
Type:
System.String
The localized error message.
PropertyConstraintException Constructor (String, Exception)
Initializes a new instance of the PropertyConstraintException class with supplied message and inner exception
Parameters
- message
-
Type:
System.String
The localized error message.
- innerException
-
Type:
System.Exception
The inner exception.
PropertyConstraintException Constructor (String, String)
Initializes a new instance of the PropertyConstraintException class.
Parameters
- message
-
Type:
System.String
The localized error message.
- propertyName
-
Type:
System.String
The property name.
PropertyConstraintException Constructor (String, String, Exception)
Initializes a new instance of the PropertyConstraintException class.
public PropertyConstraintException( string message, string propertyName, Exception innerException )
Parameters
- message
-
Type:
System.String
The localized error message.
- propertyName
-
Type:
System.String
The property name.
- innerException
-
Type:
System.Exception
The inner exception.