XmlSchemaException クラスの新しいインスタンスを、例外メッセージおよびこの例外が発生する原因になった元の Exception オブジェクトを指定して初期化します。
名前空間: System.Xml.Schema
アセンブリ: System.Xml (system.xml.dll 内)
構文
'宣言
Public Sub New ( _
message As String, _
innerException As Exception _
)
'使用
Dim message As String
Dim innerException As Exception
Dim instance As New XmlSchemaException(message, innerException)
public XmlSchemaException (
string message,
Exception innerException
)
public:
XmlSchemaException (
String^ message,
Exception^ innerException
)
public XmlSchemaException (
String message,
Exception innerException
)
public function XmlSchemaException (
message : String,
innerException : Exception
)
パラメータ
- message
エラー状態の string の説明。
- innerException
この例外が発生する原因になった元の T:System.Exception オブジェクト。
プラットフォーム
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
サポート対象 : 2.0、1.1、1.0
.NET Compact Framework
サポート対象 : 2.0、1.0
参照
関連項目
XmlSchemaException クラス
XmlSchemaException メンバ
System.Xml.Schema 名前空間