Exemple #1
0
 /// <summary>
 /// Create a new cancel reservation result.
 /// </summary>
 /// <param name="Result">The result of the cancel reservation operation.</param>
 /// <param name="Message">An optional message.</param>
 private CancelReservationResult(CancelReservationResultType Result,
                                 String Message = null)
 {
     this._Result        = Result;
     this._ReservationId = null;
     this._Message       = Message;
 }
Exemple #2
0
 /// <summary>
 /// Create a new cancel reservation result.
 /// </summary>
 /// <param name="Message">An (error) message.</param>
 private CancelReservationResult(String Message)
 {
     this._Result  = CancelReservationResultType.Error;
     this._Message = Message;
 }
Exemple #3
0
 /// <summary>
 /// Create a new cancel reservation result.
 /// </summary>
 /// <param name="Result">The result of a cancel reservation operation.</param>
 /// <param name="ReservationId">The charging reservation identification.</param>
 private CancelReservationResult(CancelReservationResultType Result,
                                 ChargingReservation_Id ReservationId)
 {
     this._Result        = Result;
     this._ReservationId = ReservationId;
 }