Επεξεργασία

Κοινή χρήση μέσω


ReservationNotFoundException Constructors

Definition

Initializes a new instance of the ReservationNotFoundException class.

Overloads

ReservationNotFoundException()

Initializes a new instance of the ReservationNotFoundException class.

ReservationNotFoundException(String)

Initializes a new instance of the ReservationNotFoundException class with a specified error message.

ReservationNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ReservationNotFoundException class with serialized data.

ReservationNotFoundException(String, Exception)

Initializes a new instance of the ReservationNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

ReservationNotFoundException()

Initializes a new instance of the ReservationNotFoundException class.

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

Applies to

ReservationNotFoundException(String)

Initializes a new instance of the ReservationNotFoundException class with a specified error message.

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)

Parameters

message
String

The message that describes the error.

Applies to

ReservationNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ReservationNotFoundException class with serialized data.

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)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

ReservationNotFoundException(String, Exception)

Initializes a new instance of the ReservationNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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)

Parameters

message
String

The message that describes the error.

inner
Exception

The exception that is the cause of the current exception.

Applies to