共用方式為


BuildFailedException 建構函式 (String, Exception)

Initializes a new instance of the BuildFailedException with a string exception message and an inner Exception providing more information about the failure.

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String 
Dim innerException As Exception 

Dim instance As New BuildFailedException(message, _
    innerException)
public BuildFailedException(
    string message,
    Exception innerException
)
public:
BuildFailedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> BuildFailedException
public function BuildFailedException(
    message : String, 
    innerException : Exception
)

參數

  • message
    型別:System.String
    The string describing the cause of the failure.

請參閱

參考

BuildFailedException 類別

BuildFailedException 多載

Microsoft.SqlServer.Dac.Deployment 命名空間