共用方式為


CommandExceptionEventArgs.Exception 屬性

取得傳入建構函式的例外狀況。

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

語法

'宣告
Public ReadOnly Property Exception As Exception
    Get
public Exception Exception { get; }
public:
property Exception^ Exception {
    Exception^ get ();
}
member Exception : Exception
function get Exception () : Exception

屬性值

型別:System.Exception
傳入建構函式的 Exception

.NET Framework 安全性

請參閱

參考

CommandExceptionEventArgs 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性