Export (0) Print
Expand All

PropertyConstraintException Constructor (String, String)

.NET Framework 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