ConfigurationException コンストラクタ (String, Exception)
このコンストラクタは、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
メモ : このコンストラクタは、互換性のために残されています。
ConfigurationException クラスの新しいインスタンスを初期化します。
名前空間: System.Configuration
アセンブリ: System (system.dll 内)
構文
'宣言
<ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")> _
Public Sub New ( _
message As String, _
inner As Exception _
)
'使用
Dim message As String
Dim inner As Exception
Dim instance As New ConfigurationException(message, inner)
[ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (
string message,
Exception inner
)
[ObsoleteAttribute(L"This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public:
ConfigurationException (
String^ message,
Exception^ inner
)
/** @attribute ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException") */
public ConfigurationException (
String message,
Exception inner
)
ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")
public function ConfigurationException (
message : String,
inner : Exception
)
パラメータ
- message
この ConfigurationException 例外がスローされた理由を記述しているメッセージ。
- inner
この ConfigurationException がスローされた場合にその原因となった内部例外。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
参照
関連項目
ConfigurationException クラス
ConfigurationException メンバ
System.Configuration 名前空間