Пример #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, bool Nowait)
 {
     BasicCancelBody body = new BasicCancelBody();
     body.ConsumerTag = ConsumerTag;
     body.Nowait = Nowait;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
Пример #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, bool Nowait)
        {
            BasicCancelBody body = new BasicCancelBody();

            body.ConsumerTag = ConsumerTag;
            body.Nowait      = Nowait;

            AMQFrame frame = new AMQFrame();

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