共用方式為


IntegrationExceptionEventArgs(Boolean, Exception) 建構函式

定義

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

public:
 IntegrationExceptionEventArgs(bool throwException, Exception ^ exception);
public IntegrationExceptionEventArgs (bool throwException, Exception exception);
new System.Windows.Forms.Integration.IntegrationExceptionEventArgs : bool * Exception -> System.Windows.Forms.Integration.IntegrationExceptionEventArgs
Public Sub New (throwException As Boolean, exception As Exception)

參數

throwException
Boolean

true 表示要引發 exception 所指定的 Exception,否則就是 false

exception
Exception

要引發的 Exception

例外狀況

exceptionnull

適用於

另請參閱