示例#1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, ulong DeliveryTag, bool Requeue)
 {
     FileRejectBody body = new FileRejectBody();
     body.DeliveryTag = DeliveryTag;
     body.Requeue = Requeue;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, ulong DeliveryTag, bool Requeue)
        {
            FileRejectBody body = new FileRejectBody();

            body.DeliveryTag = DeliveryTag;
            body.Requeue     = Requeue;

            AMQFrame frame = new AMQFrame();

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