ReservationNotFoundException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
是当前异常原因的异常。