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

在屬性值變更期間發生的錯誤。

適用於