指定されたメッセージと指定された内部例外を使用して、PropertyNotSetException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (microsoft.sqlserver.smo.dll 内)
構文
'宣言
Public Sub New ( _
message As String, _
innerException As Exception _
)
public PropertyNotSetException (
string message,
Exception innerException
)
public:
PropertyNotSetException (
String^ message,
Exception^ innerException
)
public PropertyNotSetException (
String message,
Exception innerException
)
public function PropertyNotSetException (
message : String,
innerException : Exception
)
パラメータ
- message
Property Cannot Be Retrieved 例外のメッセージ文字列を示す String 値です。
- innerException
Property Cannot Be Retrieved 例外の内部例外を示す Exception オブジェクトです。
解説
この名前空間、クラス、またはメンバは、Microsoft .NET Framework のバージョン 2.0 でのみサポートされています。
使用例
Visual Basic .NET で例外をキャッチする方法
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
PropertyNotSetException Class
PropertyNotSetException Members
Microsoft.SqlServer.Management.Smo Namespace