/// <summary>
        /// Puts a new change notification on the queue.
        /// </summary>
        /// <param name="detail"></param>
        public void AddRecordChangeNotification(RecordChangeNotification detail)
        {
            using (Stream stream = new MemoryStream())
            {
                new XmlSerializer(typeof(RecordChangeNotification)).Serialize(stream, detail);
                stream.Position = 0;
                var result = new StreamReader(stream).ReadToEnd();

                var queue = GetQueue();
                queue.CreateIfNotExists();
                var message = new CloudQueueMessage(result);
                queue.AddMessage(message);
            }
        }