PropertyConstraintException 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性條件約束例外狀況類別。 請注意,此類別具有狀態 - 因此,如果您變更甚至其內部專案,可能是重大變更
[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 |
取得違反約束條件之屬性的名稱。 |