Freigeben über


PropertyConstraintException-Konstruktor (String, String)

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Initialisiert eine neue Instanz der PropertyConstraintException-Klasse.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    propertyName As String _
)
'Usage
Dim message As String 
Dim propertyName As String 

Dim instance As New PropertyConstraintException(message, _
    propertyName)
public PropertyConstraintException(
    string message,
    string propertyName
)
public:
PropertyConstraintException(
    String^ message, 
    String^ propertyName
)
new : 
        message:string * 
        propertyName:string -> PropertyConstraintException
public function PropertyConstraintException(
    message : String, 
    propertyName : String
)

Parameter

Siehe auch

Verweis

PropertyConstraintException Klasse

PropertyConstraintException-Überladung

System.Data.Entity.Core-Namespace