예제 #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag)
 {
     BasicCancelOkBody body = new BasicCancelOkBody();
     body.ConsumerTag = ConsumerTag;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag)
        {
            BasicCancelOkBody body = new BasicCancelOkBody();

            body.ConsumerTag = ConsumerTag;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }