Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PropertyConstraintException Constructor (String, String)

.NET Framework 4.6 and 4.5

Initializes a new instance of the PropertyConstraintException class.

Namespace:  System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public PropertyConstraintException(
	string message,
	string propertyName
)

Parameters

message
Type: System.String

A localized error message.

propertyName
Type: System.String

The name of the property.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft