コード例 #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, bool Nowait)
 {
     FileCancelBody body = new FileCancelBody();
     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)
        {
            FileCancelBody body = new FileCancelBody();

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

            AMQFrame frame = new AMQFrame();

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