XPathException Constructor (String, Exception)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public XPathException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String
    The description of the error condition.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.