語言

ReservationNotFoundException 建構函式

定義

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

多載

名稱 Description
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

the that 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

該例外即為當前例外的原因。

適用於