次の方法で共有


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

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

名前空間:  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 PropertyCannotBeRetrievedException(message, _
    innerException)
public PropertyCannotBeRetrievedException(
    string message,
    Exception innerException
)
public:
PropertyCannotBeRetrievedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> PropertyCannotBeRetrievedException
public function PropertyCannotBeRetrievedException(
    message : String, 
    innerException : Exception
)

パラメーター

  • message
    型: System.String
    Property Cannot Be Retrieved 例外のメッセージ文字列を示す String 値です。
  • innerException
    型: System.Exception
    Property Cannot Be Retrieved 例外の内部例外を示す Exception オブジェクトです。

使用例

SMO 例外の処理

関連項目

参照

PropertyCannotBeRetrievedException クラス

PropertyCannotBeRetrievedException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間