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 |
获取违反约束的属性值的名称。 |