ServicedComponentException 建構函式

定義

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

多載

ServicedComponentException()

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

ServicedComponentException(String)

使用指定的錯誤訊息,初始化 ServicedComponentException 類別的新執行個體。

ServicedComponentException(String, Exception)

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

ServicedComponentException()

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

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

適用於

ServicedComponentException(String)

使用指定的錯誤訊息,初始化 ServicedComponentException 類別的新執行個體。

public:
 ServicedComponentException(System::String ^ message);
public ServicedComponentException (string message);
new System.EnterpriseServices.ServicedComponentException : string -> System.EnterpriseServices.ServicedComponentException
Public Sub New (message As String)

參數

message
String

擲回例外狀況時,向用戶端顯示的訊息。

適用於

ServicedComponentException(String, Exception)

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

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

參數

message
String

擲回例外狀況時,向用戶端顯示的訊息。

innerException
Exception

擲回目前例外狀況的 InnerException (如果有的話)。

適用於