共用方式為


LayoutExceptionEventArgs(Exception) 建構函式

定義

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

public:
 LayoutExceptionEventArgs(Exception ^ exception);
public LayoutExceptionEventArgs(Exception exception);
new System.Windows.Forms.Integration.LayoutExceptionEventArgs : Exception -> System.Windows.Forms.Integration.LayoutExceptionEventArgs
Public Sub New (exception As Exception)

參數

exception
Exception

Exception要加注。

例外狀況

exceptionnull

備註

在你的事件處理程式中,將屬性true的值ThrowException設為,表示應該觸發例外。

適用於

另請參閱