PropertyValueExceptionEventArgs 類別

提供 PropertyValueException 事件的資料。

繼承階層架構

System.Object
  System.EventArgs
    Microsoft.Windows.Design.PropertyEditing.PropertyValueExceptionEventArgs

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

語法

'宣告
Public Class PropertyValueExceptionEventArgs _
    Inherits EventArgs
public class PropertyValueExceptionEventArgs : EventArgs
public ref class PropertyValueExceptionEventArgs : public EventArgs
type PropertyValueExceptionEventArgs =  
    class
        inherit EventArgs
    end
public class PropertyValueExceptionEventArgs extends EventArgs

PropertyValueExceptionEventArgs 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 PropertyValueExceptionEventArgs 初始化 PropertyValueExceptionEventArgs 類別的新執行個體。

回頁首

屬性

  名稱 說明
公用屬性 Exception 取得內含的例外狀況。
公用屬性 Message 取得指出失敗項目的訊息。
公用屬性 PropertyValue 取得正發生例外狀況的 PropertyValue
公用屬性 Source 取得產生這個例外狀況的來源。

回頁首

方法

  名稱 說明
公用方法 Equals 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

WPF 設計工具擴充性

屬性編輯架構