XPathException Oluşturucular

Tanım

XPathException sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
XPathException()

XPathException sınıfının yeni bir örneğini başlatır.

XPathException(String)

Belirtilen özel durum iletisiyle sınıfının yeni bir örneğini XPathException başlatır.

XPathException(SerializationInfo, StreamingContext)
Geçersiz.

sınıfının yeni bir örneğini başlatmak için ve SerializationInfo nesnelerindeki StreamingContext bilgileri XPathException kullanır.

XPathException(String, Exception)

Belirtilen özel durum iletisini ve XPathException nesnesini kullanarak sınıfın yeni bir örneğini Exception başlatır.

XPathException()

Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs

XPathException sınıfının yeni bir örneğini başlatır.

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

Şunlara uygulanır

XPathException(String)

Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs

Belirtilen özel durum iletisiyle sınıfının yeni bir örneğini XPathException başlatır.

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)

Parametreler

message
String

Hata koşulunun açıklaması.

Şunlara uygulanır

XPathException(SerializationInfo, StreamingContext)

Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs

Dikkat

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

sınıfının yeni bir örneğini başlatmak için ve SerializationInfo nesnelerindeki StreamingContext bilgileri XPathException kullanır.

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)

Parametreler

info
SerializationInfo

bir SerializationInfo öğesinin tüm özelliklerini XPathExceptioniçeren nesne.

Öznitelikler

Şunlara uygulanır

XPathException(String, Exception)

Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs
Kaynak:
XPathException.cs

Belirtilen özel durum iletisini ve XPathException nesnesini kullanarak sınıfın yeni bir örneğini Exception başlatır.

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)

Parametreler

message
String

Hata koşulunun açıklaması.

innerException
Exception

Eğer Exception varsa, onu fırlatan XPathException. Bu değer olabilir null.

Şunlara uygulanır