例外メッセージおよび Exception オブジェクトを指定して、XPathException クラスの新しいインスタンスを初期化します。
名前空間: System.Xml.XPath
アセンブリ: 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 XPathException(message, innerException)
public XPathException (
string message,
Exception innerException
)
public:
XPathException (
String^ message,
Exception^ innerException
)
public XPathException (
String message,
Exception innerException
)
public function XPathException (
message : String,
innerException : Exception
)
パラメータ
- message
エラー状態の説明。
- innerException
XPathException をスローした Exception (存在する場合)。この値は、null 参照 (Visual Basic では Nothing) の場合もあります。
プラットフォーム
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