BuildFailedException 建構函式

定義

多載

名稱 Description
BuildFailedException(String)

構造一個 BuildFailedException 帶有字串例外訊息的訊息

BuildFailedException(String, Exception)

構造包含 BuildFailedException 字串異常訊息及 Exception 一個內層訊息,提供更多故障資訊

BuildFailedException(String)

構造一個 BuildFailedException 帶有字串例外訊息的訊息

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

參數

message
String

描述故障原因的字串

適用於

BuildFailedException(String, Exception)

構造包含 BuildFailedException 字串異常訊息及 Exception 一個內層訊息,提供更多故障資訊

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

參數

message
String

描述故障原因的字串

innerException
Exception

Exception 這就是失敗的根本原因

適用於