PropertyValueExceptionEventArgs 建構函式

初始化 PropertyValueExceptionEventArgs 類別的新執行個體。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    value As PropertyValue, _
    source As PropertyValueExceptionSource, _
    exception As Exception _
)
public PropertyValueExceptionEventArgs(
    string message,
    PropertyValue value,
    PropertyValueExceptionSource source,
    Exception exception
)
public:
PropertyValueExceptionEventArgs(
    String^ message, 
    PropertyValue^ value, 
    PropertyValueExceptionSource source, 
    Exception^ exception
)
new : 
        message:string * 
        value:PropertyValue * 
        source:PropertyValueExceptionSource * 
        exception:Exception -> PropertyValueExceptionEventArgs
public function PropertyValueExceptionEventArgs(
    message : String, 
    value : PropertyValue, 
    source : PropertyValueExceptionSource, 
    exception : Exception
)

參數

例外狀況

例外狀況 條件
ArgumentNullException

message 為 nullNull 參照 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

PropertyValueExceptionEventArgs 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

WPF 設計工具擴充性

屬性編輯架構