public void SendMessage(string queueName, string messageBody)
        {
            QueueClient queueClient = this.messagingFactory.CreateQueueClient(queueName);
            var customMessage = new CustomMessage() { Date = DateTime.Now, Body = messageBody };
            BrokeredMessage bm = null;

            try
            {
                bm = new BrokeredMessage(customMessage);
                bm.Properties["Urgent"] = "1";
                bm.Properties["Priority"] = "High";
                queueClient.Send(bm);
            }
            catch
            {
                // TODO: do something
            }
            finally
            {
                if (bm != null)
                {
                    bm.Dispose();
                }
            }
        }
        public void SendMessage(string queueName, string messageBody, bool isUrgent, bool isFollowUp)
        {
            MessageSender sender = this.messagingFactory.CreateMessageSender(queueName);
            var customMessage = new CustomMessage() { Date = DateTime.Now, Body = messageBody };
            BrokeredMessage bm = null;

            try
            {
                bm = new BrokeredMessage(customMessage.ToDictinary());
                bm.Properties["Urgent"] = "1";
                bm.Properties["Priority"] = "High";
                sender.Send(bm);
            }
            catch 
            { 
            }
            finally
            {
                if (bm != null)
                {
                    bm.Dispose();
                }
            }
        }