@@ -358,13 +358,55 @@ BasicGetResult BasicGet(string queue,
358
358
359
359
///<summary>Close this session.</summary>
360
360
///<remarks>
361
- /// If the session is already closed (or closing), then this
362
- /// method does nothing but wait for the in-progress close
363
- /// operation to complete. This method will not return to the
364
- /// caller until the shutdown is complete.
361
+ ///If the session is already closed (or closing), then this
362
+ ///method does nothing but wait for the in-progress close
363
+ ///operation to complete. This method will not return to the
364
+ ///caller until the shutdown is complete.
365
+ ///</remarks>
366
+ [ AmqpMethodDoNotImplement ( null ) ]
367
+ void Close ( ) ;
368
+
369
+ ///<summary>Close this session.</summary>
370
+ ///<remarks>
371
+ ///The method behaves in the same way as Close(), with the only
372
+ ///difference that the model is closed with the given model
373
+ ///close code and message.
374
+ ///<para>
375
+ ///The close code (See under "Reply Codes" in the AMQP specification)
376
+ ///</para>
377
+ ///<para>
378
+ ///A message indicating the reason for closing the model
379
+ ///</para>
365
380
///</remarks>
366
381
[ AmqpMethodDoNotImplement ( null ) ]
367
382
void Close ( ushort replyCode , string replyText ) ;
383
+
384
+ ///<summary>Abort this session.</summary>
385
+ ///<remarks>
386
+ ///If the session is already closed (or closing), then this
387
+ ///method does nothing but wait for the in-progress close
388
+ ///operation to complete. This method will not return to the
389
+ ///caller until the shutdown is complete.
390
+ ///In comparison to normal Close() method, Abort() will not throw
391
+ ///AlreadyClosedException or IOException during closing model.
392
+ ///</remarks>
393
+ [ AmqpMethodDoNotImplement ( null ) ]
394
+ void Abort ( ) ;
395
+
396
+ ///<summary>Abort this session.</summary>
397
+ ///<remarks>
398
+ ///The method behaves in the same way as Abort(), with the only
399
+ ///difference that the model is closed with the given model
400
+ ///close code and message.
401
+ ///<para>
402
+ ///The close code (See under "Reply Codes" in the AMQP specification)
403
+ ///</para>
404
+ ///<para>
405
+ ///A message indicating the reason for closing the model
406
+ ///</para>
407
+ ///</remarks>
408
+ [ AmqpMethodDoNotImplement ( null ) ]
409
+ void Abort ( ushort replyCode , string replyText ) ;
368
410
}
369
411
370
412
///<summary>Represents Basic.GetOk responses from the server.</summary>
0 commit comments