XPathException XPathException XPathException XPathException Constructors

Definition

Overloads

XPathException() XPathException() XPathException()

Initializes a new instance of the XPathException class.

XPathException(String) XPathException(String) XPathException(String) XPathException(String)

Initializes a new instance of the XPathException class with the specified exception message.

XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext)

Uses the information in the SerializationInfo and StreamingContext objects to initialize a new instance of the XPathException class.

XPathException(String, Exception) XPathException(String, Exception) XPathException(String, Exception) XPathException(String, Exception)

Initializes a new instance of the XPathException class using the specified exception message and Exception object.

XPathException() XPathException() XPathException()

Initializes a new instance of the XPathException class.

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

XPathException(String) XPathException(String) XPathException(String) XPathException(String)

Initializes a new instance of the XPathException class with the specified exception message.

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

Parameters

message
String String String String

The description of the error condition.

XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext) XPathException(SerializationInfo, StreamingContext)

Uses the information in the SerializationInfo and StreamingContext objects to initialize a new instance of the XPathException class.

protected:
 XPathException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
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
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

XPathException(String, Exception) XPathException(String, Exception) XPathException(String, Exception) XPathException(String, Exception)

Initializes a new instance of the XPathException class using the specified exception message and Exception object.

public:
 XPathException(System::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)

Parameters

message
String String String String

The description of the error condition.

innerException
Exception Exception Exception Exception

The Exception that threw the XPathException, if any. This value can be null.

Applies to