指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、DacServicesException クラスの新しいインスタンスを構築します。
名前空間: Microsoft.SqlServer.Dac
アセンブリ: Microsoft.SqlServer.Dac (Microsoft.SqlServer.Dac.dll)
構文
'宣言
Public Sub New ( _
message As String, _
innerException As Exception _
)
'使用
Dim message As String
Dim innerException As Exception
Dim instance As New DacServicesException(message, _
innerException)
public DacServicesException(
string message,
Exception innerException
)
public:
DacServicesException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> DacServicesException
public function DacServicesException(
message : String,
innerException : Exception
)
パラメーター
- message
型: System.String
エラーを説明するメッセージです。
- innerException
型: System.Exception
現在の例外の原因である例外です。または、内部例外が指定されていない場合は NULL 参照です。