次の方法で共有


DacModelException コンストラクター (String, Exception)

指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、DacModelException クラスの新しいインスタンスを構築します。

名前空間:  Microsoft.SqlServer.Dac.Model
アセンブリ:  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 DacModelException(message, _
    innerException)
public DacModelException(
    string message,
    Exception innerException
)
public:
DacModelException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> DacModelException
public function DacModelException(
    message : String, 
    innerException : Exception
)

パラメーター

  • message
    型: System.String
    エラーを説明するメッセージです。
  • innerException
    型: System.Exception
    現在の例外の原因である例外です。または、内部例外が指定されていない場合は NULL 参照です。

関連項目

参照

DacModelException クラス

DacModelException オーバーロード

Microsoft.SqlServer.Dac.Model 名前空間