PropertyValueExceptionEventArgs 构造函数

定义

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

public:
 PropertyValueExceptionEventArgs(System::String ^ message, System::Activities::Presentation::PropertyEditing::PropertyValue ^ value, System::Activities::Presentation::PropertyEditing::PropertyValueExceptionSource source, Exception ^ exception);
public PropertyValueExceptionEventArgs (string message, System.Activities.Presentation.PropertyEditing.PropertyValue value, System.Activities.Presentation.PropertyEditing.PropertyValueExceptionSource source, Exception exception);
new System.Activities.Presentation.PropertyEditing.PropertyValueExceptionEventArgs : string * System.Activities.Presentation.PropertyEditing.PropertyValue * System.Activities.Presentation.PropertyEditing.PropertyValueExceptionSource * Exception -> System.Activities.Presentation.PropertyEditing.PropertyValueExceptionEventArgs
Public Sub New (message As String, value As PropertyValue, source As PropertyValueExceptionSource, exception As Exception)

参数

message
String

一条消息,指示在属性值更改期间发生的错误。

value
PropertyValue

发生异常的 PropertyValue 实例。

source
PropertyValueExceptionSource

产生此异常的源 - 一个 PropertyValue 获取或设置操作。

exception
Exception

在属性值更改期间发生的错误。

适用于