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

指定したメッセージと内部例外を使用して、SmoException クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

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

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

パラメーター

  • message
    型: System.String
    SMO 例外のメッセージ文字列を示す String 値です。
  • innerException
    型: System.Exception
    参照先のオブジェクトの基になる例外を示す Exception システム オブジェクトです。

使用例

SMO 例外の処理

関連項目

参照

SmoException クラス

SmoException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間