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

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

适用于