Share via


CompositionFailedException 建構函式

定義

多載

CompositionFailedException()

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

CompositionFailedException(String)

使用指定的訊息初始化 CompositionFailedException 類別的新執行個體。

CompositionFailedException(String, Exception)

使用指定的訊息和內部例外狀況初始化 CompositionFailedException 類別的新執行個體。

CompositionFailedException()

來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs

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

public:
 CompositionFailedException();
public CompositionFailedException ();
Public Sub New ()

適用於

CompositionFailedException(String)

來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs

使用指定的訊息初始化 CompositionFailedException 類別的新執行個體。

public:
 CompositionFailedException(System::String ^ message);
public CompositionFailedException (string message);
new System.Composition.Hosting.CompositionFailedException : string -> System.Composition.Hosting.CompositionFailedException
Public Sub New (message As String)

參數

message
String

包含例外狀況相關資訊的訊息。

適用於

CompositionFailedException(String, Exception)

來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs
來源:
CompositionFailedException.cs

使用指定的訊息和內部例外狀況初始化 CompositionFailedException 類別的新執行個體。

public:
 CompositionFailedException(System::String ^ message, Exception ^ innerException);
public CompositionFailedException (string message, Exception innerException);
new System.Composition.Hosting.CompositionFailedException : string * Exception -> System.Composition.Hosting.CompositionFailedException
Public Sub New (message As String, innerException As Exception)

參數

message
String

包含例外狀況相關資訊的訊息。

innerException
Exception

要包裝在此例外狀況中的內部例外狀況。

適用於