PropertyValueExceptionEventArgs 类

定义

表示一个对象,该对象包含发生项 PropertyValueException的事件参数。

public ref class PropertyValueExceptionEventArgs : EventArgs
public class PropertyValueExceptionEventArgs : EventArgs
type PropertyValueExceptionEventArgs = class
    inherit EventArgs
Public Class PropertyValueExceptionEventArgs
Inherits EventArgs
继承
PropertyValueExceptionEventArgs

构造函数

名称 说明
PropertyValueExceptionEventArgs(String, PropertyValue, PropertyValueExceptionSource, Exception)

创建类的新实例,该实例 PropertyValueExceptionEventArgs 包含有关在更新属性值期间发生的错误的信息。

属性

名称 说明
Exception

获取与此事件参数实例关联的属性值更改期间发生的错误。

Message

获取指示与此事件参数实例关联的属性值更改期间失败的消息。

PropertyValue

获取 PropertyValue 与此事件参数实例关联的参数。

Source

获取 PropertyValueExceptionSource 与此事件参数实例关联的参数。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于