XPathException Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der XPathException-Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| XPathException() |
Initialisiert eine neue Instanz der XPathException-Klasse. |
| XPathException(String) |
Initialisiert eine neue Instanz der XPathException Klasse mit der angegebenen Ausnahmemeldung. |
| XPathException(SerializationInfo, StreamingContext) |
Veraltet.
Verwendet die Informationen in den SerializationInfo und StreamingContext Objekten, um eine neue Instanz der XPathException Klasse zu initialisieren. |
| XPathException(String, Exception) |
Initialisiert eine neue Instanz der Klasse mithilfe der XPathException angegebenen Ausnahmemeldung und Exception des angegebenen Objekts. |
XPathException()
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
Initialisiert eine neue Instanz der XPathException-Klasse.
public:
XPathException();
public XPathException();
Public Sub New ()
Gilt für:
XPathException(String)
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
Initialisiert eine neue Instanz der XPathException Klasse mit der angegebenen Ausnahmemeldung.
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)
Parameter
- message
- String
Die Beschreibung der Fehlerbedingung.
Gilt für:
XPathException(SerializationInfo, StreamingContext)
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
Achtung
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Verwendet die Informationen in den SerializationInfo und StreamingContext Objekten, um eine neue Instanz der XPathException Klasse zu initialisieren.
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);
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}")>]
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
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)
Parameter
- info
- SerializationInfo
Das SerializationInfo Objekt, das alle Eigenschaften eines XPathException.
- context
- StreamingContext
Das StreamingContext-Objekt.
- Attribute
Gilt für:
XPathException(String, Exception)
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
- Quelle:
- XPathException.cs
Initialisiert eine neue Instanz der Klasse mithilfe der XPathException angegebenen Ausnahmemeldung und Exception des angegebenen Objekts.
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)
Parameter
- message
- String
Die Beschreibung der Fehlerbedingung.
- innerException
- Exception
Das Exception warf die XPathException, wenn vorhanden. Dieser Wert kann null sein.