LayoutExceptionEventArgs 類別

定義

提供 LayoutError 事件的資料。

public ref class LayoutExceptionEventArgs : System::Windows::Forms::Integration::IntegrationExceptionEventArgs
public class LayoutExceptionEventArgs : System.Windows.Forms.Integration.IntegrationExceptionEventArgs
type LayoutExceptionEventArgs = class
    inherit IntegrationExceptionEventArgs
Public Class LayoutExceptionEventArgs
Inherits IntegrationExceptionEventArgs
繼承

備註

類別 IntegrationExceptionEventArgs 可讓使用者在引發配置相關例外狀況之前先預覽。

在事件處理常式中 ThrowException ,將 屬性的值設定為 true ,以指出應該引發例外狀況。

建構函式

LayoutExceptionEventArgs(Exception)

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

屬性

Exception

取得與這個 Exception 關聯的 IntegrationExceptionEventArgs

(繼承來源 IntegrationExceptionEventArgs)
ThrowException

取得或設定值,指出是否引發 Exception 屬性所指定的 Exception

(繼承來源 IntegrationExceptionEventArgs)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱