@@ -403,13 +403,55 @@ BasicGetResult BasicGet(ushort ticket,
403
403
404
404
///<summary>Close this session.</summary>
405
405
///<remarks>
406
- /// If the session is already closed (or closing), then this
407
- /// method does nothing but wait for the in-progress close
408
- /// operation to complete. This method will not return to the
409
- /// caller until the shutdown is complete.
406
+ ///If the session is already closed (or closing), then this
407
+ ///method does nothing but wait for the in-progress close
408
+ ///operation to complete. This method will not return to the
409
+ ///caller until the shutdown is complete.
410
+ ///</remarks>
411
+ [ AmqpMethodDoNotImplement ( null ) ]
412
+ void Close ( ) ;
413
+
414
+ ///<summary>Close this session.</summary>
415
+ ///<remarks>
416
+ ///The method behaves in the same way as Close(), with the only
417
+ ///difference that the model is closed with the given model
418
+ ///close code and message.
419
+ ///<para>
420
+ ///The close code (See under "Reply Codes" in the AMQP specification)
421
+ ///</para>
422
+ ///<para>
423
+ ///A message indicating the reason for closing the model
424
+ ///</para>
410
425
///</remarks>
411
426
[ AmqpMethodDoNotImplement ( null ) ]
412
427
void Close ( ushort replyCode , string replyText ) ;
428
+
429
+ ///<summary>Abort this session.</summary>
430
+ ///<remarks>
431
+ ///If the session is already closed (or closing), then this
432
+ ///method does nothing but wait for the in-progress close
433
+ ///operation to complete. This method will not return to the
434
+ ///caller until the shutdown is complete.
435
+ ///In comparison to normal Close() method, Abort() will not throw
436
+ ///AlreadyClosedException or IOException during closing model.
437
+ ///</remarks>
438
+ [ AmqpMethodDoNotImplement ( null ) ]
439
+ void Abort ( ) ;
440
+
441
+ ///<summary>Abort this session.</summary>
442
+ ///<remarks>
443
+ ///The method behaves in the same way as Abort(), with the only
444
+ ///difference that the model is closed with the given model
445
+ ///close code and message.
446
+ ///<para>
447
+ ///The close code (See under "Reply Codes" in the AMQP specification)
448
+ ///</para>
449
+ ///<para>
450
+ ///A message indicating the reason for closing the model
451
+ ///</para>
452
+ ///</remarks>
453
+ [ AmqpMethodDoNotImplement ( null ) ]
454
+ void Abort ( ushort replyCode , string replyText ) ;
413
455
}
414
456
415
457
///<summary>Represents Basic.GetOk responses from the server.</summary>
0 commit comments