XPathException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy XPathException.

Przeciążenia

Nazwa Opis
XPathException()

Inicjuje nowe wystąpienie klasy XPathException.

XPathException(String)

Inicjuje nowe wystąpienie XPathException klasy z określonym komunikatem o wyjątku.

XPathException(SerializationInfo, StreamingContext)
Przestarzałe.

Używa informacji w SerializationInfo obiektach i StreamingContext do inicjowania nowego wystąpienia XPathException klasy.

XPathException(String, Exception)

Inicjuje nowe wystąpienie XPathException klasy przy użyciu określonego komunikatu wyjątku i Exception obiektu.

XPathException()

Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs

Inicjuje nowe wystąpienie klasy XPathException.

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

Dotyczy

XPathException(String)

Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs

Inicjuje nowe wystąpienie XPathException klasy z określonym komunikatem o wyjątku.

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)

Parametry

message
String

Opis warunku błędu.

Dotyczy

XPathException(SerializationInfo, StreamingContext)

Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs

Uwaga

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

Używa informacji w SerializationInfo obiektach i StreamingContext do inicjowania nowego wystąpienia XPathException klasy.

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)

Parametry

info
SerializationInfo

Obiekt SerializationInfo zawierający wszystkie właściwości obiektu XPathException.

Atrybuty

Dotyczy

XPathException(String, Exception)

Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs
Źródło:
XPathException.cs

Inicjuje nowe wystąpienie XPathException klasy przy użyciu określonego komunikatu wyjątku i Exception obiektu.

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)

Parametry

message
String

Opis warunku błędu.

innerException
Exception

Element Exception , który rzucił XPathExceptionwartość , jeśli istnieje. Ta wartość może mieć wartość null.

Dotyczy