PropertyValueExceptionEventArgs 类
定义
表示包含 PropertyValueException 的事件自变量的对象。Represents an object that contains event arguments for the occurrence of a PropertyValueException.
public ref class PropertyValueExceptionEventArgs : EventArgs
public class PropertyValueExceptionEventArgs : EventArgs
type PropertyValueExceptionEventArgs = class
inherit EventArgs
Public Class PropertyValueExceptionEventArgs
Inherits EventArgs
- 继承
构造函数
PropertyValueExceptionEventArgs(String, PropertyValue, PropertyValueExceptionSource, Exception) |
创建 PropertyValueExceptionEventArgs 类的新实例,该实例包含在更新属性值期间发生的错误的相关信息。Creates a new instance of the PropertyValueExceptionEventArgs class that contains information about an error that has occurred during the updating of a property value. |
属性
Exception |
获取在属性值更改期间发生的错误,该属性值更改与事件自变量的此实例关联。Gets the error that occurred during the property value change associated with this instance of event arguments. |
Message |
获取一条消息,指示在属性值更改期间发生的错误,该属性值更改与事件参数的此实例关联。Gets the message that indicates what failed during the property value change associated with this instance of event arguments. |
PropertyValue |
获取与事件自变量的此实例关联的 PropertyValue。Gets the PropertyValue associated with this instance of event arguments. |
Source |
获取与事件自变量的此实例关联的 PropertyValueExceptionSource。Gets the PropertyValueExceptionSource associated with this instance of event arguments. |
方法
Equals(Object) |
确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetHashCode() |
用作默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
ToString() |
返回一个表示当前对象的 string。Returns a string that represents the current object. (继承自 Object) |