XPathException コンストラクター

定義

XPathException クラスの新しいインスタンスを初期化します。

オーバーロード

XPathException()

XPathException クラスの新しいインスタンスを初期化します。

XPathException(String)

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

XPathException(SerializationInfo, StreamingContext)
古い.

SerializationInfo オブジェクトおよび StreamingContext オブジェクト内の情報を使用して、XPathException クラスの新しいインスタンスを初期化します。

XPathException(String, Exception)

例外メッセージおよび XPathException オブジェクトを指定して、Exception クラスの新しいインスタンスを初期化します。

XPathException()

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

XPathException クラスの新しいインスタンスを初期化します。

public:
 XPathException();
public XPathException ();
Public Sub New ()

適用対象

XPathException(String)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

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

public:
 XPathException(System::String ^ message);
public XPathException (string? message);
public XPathException (string message);
new System.Xml.XPath.XPathException : string -> System.Xml.XPath.XPathException
Public Sub New (message As String)

パラメーター

message
String

エラー状態の説明。

適用対象

XPathException(SerializationInfo, StreamingContext)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

SerializationInfo オブジェクトおよび StreamingContext オブジェクト内の情報を使用して、XPathException クラスの新しいインスタンスを初期化します。

protected:
 XPathException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XPathException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected XPathException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

SerializationInfo のすべてのプロパティを含む XPathException オブジェクト。

context
StreamingContext

StreamingContext オブジェクト。

属性

適用対象

XPathException(String, Exception)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

例外メッセージおよび XPathException オブジェクトを指定して、Exception クラスの新しいインスタンスを初期化します。

public:
 XPathException(System::String ^ message, Exception ^ innerException);
public XPathException (string? message, Exception? innerException);
public XPathException (string message, Exception innerException);
new System.Xml.XPath.XPathException : string * Exception -> System.Xml.XPath.XPathException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

エラー状態の説明。

innerException
Exception

Exception をスローした XPathException (存在する場合)。 この値は、null の場合もあります。

適用対象