Share via


UriTemplateMatchException 建構函式

定義

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

多載

UriTemplateMatchException()

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

UriTemplateMatchException(String)

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

UriTemplateMatchException(SerializationInfo, StreamingContext)

使用序列化資料,初始化 UriTemplateMatchException 類別的新執行個體。

UriTemplateMatchException(String, Exception)

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 UriTemplateMatchException 類別的新執行個體。

UriTemplateMatchException()

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

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

適用於

UriTemplateMatchException(String)

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

public:
 UriTemplateMatchException(System::String ^ message);
public UriTemplateMatchException (string message);
new UriTemplateMatchException : string -> UriTemplateMatchException
Public Sub New (message As String)

參數

message
String

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

適用於

UriTemplateMatchException(SerializationInfo, StreamingContext)

使用序列化資料,初始化 UriTemplateMatchException 類別的新執行個體。

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

參數

info
SerializationInfo

含有序列化資料物件的物件。

context
StreamingContext

關於來源或目的端的內容資訊。

適用於

UriTemplateMatchException(String, Exception)

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 UriTemplateMatchException 類別的新執行個體。

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

參數

message
String

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

innerException
Exception

做為目前例外狀況發生原因的例外狀況。

適用於