ReservationNotFoundException 建構函式

定義

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

多載

ReservationNotFoundException()

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

ReservationNotFoundException(String)

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

ReservationNotFoundException(SerializationInfo, StreamingContext)

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

ReservationNotFoundException(String, Exception)

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

ReservationNotFoundException()

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

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

適用於

ReservationNotFoundException(String)

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

public:
 ReservationNotFoundException(System::String ^ message);
public ReservationNotFoundException (string message);
new System.IO.Log.ReservationNotFoundException : string -> System.IO.Log.ReservationNotFoundException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

適用於

ReservationNotFoundException(SerializationInfo, StreamingContext)

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

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

參數

info
SerializationInfo

SerializationInfo,包含所擲回之例外狀況的相關序列化物件資料。

context
StreamingContext

包含有關來源或目的端內容資訊的 StreamingContext

適用於

ReservationNotFoundException(String, Exception)

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

public:
 ReservationNotFoundException(System::String ^ message, Exception ^ inner);
public ReservationNotFoundException (string message, Exception inner);
new System.IO.Log.ReservationNotFoundException : string * Exception -> System.IO.Log.ReservationNotFoundException
Public Sub New (message As String, inner As Exception)

參數

message
String

描述錯誤的訊息。

inner
Exception

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

適用於