DacServicesException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DacServicesException() |
建構一個新的類別實例 DacServicesException 。 |
| DacServicesException(String) |
建立一個帶有指定錯誤訊息的新類別實例 DacServicesException 。 |
| DacServicesException(String, Exception) |
建構一個新的類別實例 DacServicesException ,包含指定的錯誤訊息及對導致該異常的內部異常的參考。 |
DacServicesException()
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
該例外是當前例外的原因,若未指定內部例外則為空參考。