This method indicates that the sender wants to close the channel.
Namespace:
Kaazing.AMQPAssembly: Kaazing.AMQP (in Kaazing.AMQP.dll)
Syntax
Visual Basic |
---|
Public Function CloseChannel ( _ replyCode As Integer, _ replyText As String, _ classId As Integer, _ methodId1 As Integer, _ callback As AmqpEventHandler _ ) As AmqpChannel |
C# |
---|
public AmqpChannel CloseChannel( int replyCode, string replyText, int classId, int methodId1, AmqpEventHandler callback ) |
Visual C++ |
---|
public: AmqpChannel^ CloseChannel( int replyCode, String^ replyText, int classId, int methodId1, AmqpEventHandler^ callback ) |
Parameters
- replyCode
- Type: System..::..Int32
Reply - Code
- replyText
- Type: System..::..String
Reply - Text
- classId
- Type: System..::..Int32
Failing method class
- methodId1
- Type: System..::..Int32
Failing method ID
- callback
- Type: Kaazing.AMQP..::..AmqpEventHandler
Method to be called on success