語言

DacServicesException 建構函式

定義

多載

名稱 Description
DacServicesException()

建構一個新的類別實例 DacServicesException 。

DacServicesException(String)

建立一個帶有指定錯誤訊息的新類別實例 DacServicesException 。

DacServicesException(String, Exception)

建構一個新的類別實例 DacServicesException ,包含指定的錯誤訊息及對導致該異常的內部異常的參考。

DacServicesException()

建構一個新的類別實例 DacServicesException 。

public DacServicesException();
Public Sub New ()

適用於

DacServicesException(String)

建立一個帶有指定錯誤訊息的新類別實例 DacServicesException 。

public DacServicesException(string message);
new Microsoft.SqlServer.Dac.DacServicesException : string -> Microsoft.SqlServer.Dac.DacServicesException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

適用於

DacServicesException(String, Exception)

建構一個新的類別實例 DacServicesException ,包含指定的錯誤訊息及對導致該異常的內部異常的參考。

public DacServicesException(string message, Exception innerException);
new Microsoft.SqlServer.Dac.DacServicesException : string * Exception -> Microsoft.SqlServer.Dac.DacServicesException
Public Sub New (message As String, innerException As Exception)

參數

message
String

描述錯誤的訊息。

innerException
Exception

該例外是當前例外的原因,若未指定內部例外則為空參考。

適用於