Freigeben über


XPathException-Konstruktor (String, Exception)

Initialisiert eine neue Instanz der XPathException-Klasse unter Verwendung der angegebenen Ausnahmemeldung und des Exception-Objekts.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
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
)

Parameter

  • message
    Die Beschreibung des Fehlerzustands.
  • innerException
    Die Exception, die die XPathException ausgelöst hat (falls eine Ausnahme ausgelöst wurde). Dieser Wert kann NULL (Nothing in Visual Basic) sein.

Plattformen

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 unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

XPathException-Klasse
XPathException-Member
System.Xml.XPath-Namespace