XPathException 생성자

정의

XPathException 클래스의 새 인스턴스를 초기화합니다.

오버로드

XPathException()

XPathException 클래스의 새 인스턴스를 초기화합니다.

XPathException(String)

지정한 예외 메시지를 사용하여 XPathException 클래스의 새 인스턴스를 초기화합니다.

XPathException(SerializationInfo, StreamingContext)
사용되지 않음.

SerializationInfo 개체와 StreamingContext 개체의 정보를 사용하여 XPathException 클래스의 새 인스턴스를 초기화합니다.

XPathException(String, Exception)

지정된 예외 메시지와 XPathException 개체를 사용하여 Exception 클래스의 새 인스턴스를 초기화합니다.

XPathException()

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

XPathException 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

XPathException(String)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

지정한 예외 메시지를 사용하여 XPathException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

오류 조건에 대한 설명입니다.

적용 대상

XPathException(SerializationInfo, StreamingContext)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

주의

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

SerializationInfo 개체와 StreamingContext 개체의 정보를 사용하여 XPathException 클래스의 새 인스턴스를 초기화합니다.

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}")]
protected XPathException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
[<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
Protected Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

SerializationInfo의 모든 속성이 포함된 XPathException 개체입니다.

특성

적용 대상

XPathException(String, Exception)

Source:
XPathException.cs
Source:
XPathException.cs
Source:
XPathException.cs

지정된 예외 메시지와 XPathException 개체를 사용하여 Exception 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

오류 조건에 대한 설명입니다.

innerException
Exception

Exception을 throw한 XPathException입니다. 이 값은 null일 수 있습니다.

적용 대상