次の方法で共有


PropertyConstraintException クラス

定義

プロパティ制約例外クラス。 このクラスには状態があることに注意してください。そのため、内部さえも変更すると、破壊的変更になる可能性があります

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Justification="SerializeObjectState used instead")]
[System.Serializable]
public sealed class PropertyConstraintException : System.Data.ConstraintException
type PropertyConstraintException = class
    inherit ConstraintException
Public NotInheritable Class PropertyConstraintException
Inherits ConstraintException
継承
PropertyConstraintException
属性

コンストラクター

PropertyConstraintException()

既定のメッセージを使用して、PropertyConstraintException クラスの新しいインスタンスを初期化します。

PropertyConstraintException(String)

指定したメッセージを使用して、PropertyConstraintException クラスの新しいインスタンスを初期化します。

PropertyConstraintException(String, Exception)

指定したメッセージと内部例外を使用して、PropertyConstraintException クラスの新しいインスタンスを初期化します。

PropertyConstraintException(String, String)

PropertyConstraintException クラスの新しいインスタンスを初期化します。

PropertyConstraintException(String, String, Exception)

PropertyConstraintException クラスの新しいインスタンスを初期化します。

プロパティ

PropertyName

制約に違反したプロパティの名前を取得します。

適用対象