public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool Passive, bool Durable, bool Exclusive, bool AutoDelete, bool Nowait, FieldTable Arguments)
        {
            QueueDeclareBody body = new QueueDeclareBody();

            body.Ticket     = Ticket;
            body.Queue      = Queue;
            body.Passive    = Passive;
            body.Durable    = Durable;
            body.Exclusive  = Exclusive;
            body.AutoDelete = AutoDelete;
            body.Nowait     = Nowait;
            body.Arguments  = Arguments;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool Passive, bool Durable, bool Exclusive, bool AutoDelete, bool Nowait, FieldTable Arguments)
 {
     QueueDeclareBody body = new QueueDeclareBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.Passive = Passive;
     body.Durable = Durable;
     body.Exclusive = Exclusive;
     body.AutoDelete = AutoDelete;
     body.Nowait = Nowait;
     body.Arguments = Arguments;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }