XPathNavigatorException 建構函式

定義

初始化 XPathNavigatorException 類別的新執行個體。

多載

XPathNavigatorException()

初始化 XPathNavigatorException 類別的新執行個體。

XPathNavigatorException(String)

使用指定的錯誤訊息,初始化 XPathNavigatorException 類別的新執行個體。

XPathNavigatorException(SerializationInfo, StreamingContext)

使用指定資料流來源和目的端的資料,以及與序列化例外狀況所需之資訊,初始化 XPathNavigatorException 類別的新執行個體。

XPathNavigatorException(String, Exception)

使用指定的錯誤訊息以及造成目前例外狀況之內部例外狀況,初始化 XPathNavigatorException 類別的新執行個體。

XPathNavigatorException()

初始化 XPathNavigatorException 類別的新執行個體。

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

適用於

XPathNavigatorException(String)

使用指定的錯誤訊息,初始化 XPathNavigatorException 類別的新執行個體。

public:
 XPathNavigatorException(System::String ^ message);
public XPathNavigatorException (string message);
new System.ServiceModel.Dispatcher.XPathNavigatorException : string -> System.ServiceModel.Dispatcher.XPathNavigatorException
Public Sub New (message As String)

參數

message
String

解釋例外狀況原因的錯誤訊息。

適用於

XPathNavigatorException(SerializationInfo, StreamingContext)

使用指定資料流來源和目的端的資料,以及與序列化例外狀況所需之資訊,初始化 XPathNavigatorException 類別的新執行個體。

protected:
 XPathNavigatorException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XPathNavigatorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Dispatcher.XPathNavigatorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Dispatcher.XPathNavigatorException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

SerializationInfo,其中包含序列化例外狀況時所需要的所有資料。

context
StreamingContext

StreamingContext,指定資料流的來源和目的地。

適用於

XPathNavigatorException(String, Exception)

使用指定的錯誤訊息以及造成目前例外狀況之內部例外狀況,初始化 XPathNavigatorException 類別的新執行個體。

public:
 XPathNavigatorException(System::String ^ message, Exception ^ innerException);
public XPathNavigatorException (string message, Exception innerException);
new System.ServiceModel.Dispatcher.XPathNavigatorException : string * Exception -> System.ServiceModel.Dispatcher.XPathNavigatorException
Public Sub New (message As String, innerException As Exception)

參數

message
String

解釋例外狀況原因的錯誤訊息。

innerException
Exception

導致擲回目前例外狀況的 Exception

適用於