public static void EnqueueItem(QueueApi q, QueueItem item, int connectTimeOut, Action <IQueueAck> action) { q.EnqueueAsync(item, connectTimeOut, action); //DateTime start = DateTime.Now; //q.SendAsync(item, connectTimeOut, (ack) => //{ // //Console.WriteLine("State:{0},Creation:{1},Host:{2},Label:{3}, Identifier:{4}, Duration:{5}, item:{6}", ack.MessageState, ack.Creation, ack.Host, ack.Label, ack.Identifier, ack.Duration, item); //}); }