/// <summary>
        /// Removes the synchronize document from download queue.
        /// </summary>
        /// <param name="url">The URL.</param>
        public void RemoveSyncDocumentFromDownloadQueue(Uri url)
        {
            UPSyncDocumentDownloadUrlCache urlCache = null;

            if (this.SyncDocuments.Count > 20)
            {
                urlCache = new UPSyncDocumentDownloadUrlCache();
            }

            SyncDocument syncDocumentToRemove = this.SyncDocuments.FirstOrDefault(document => document.DownloadUrlsForDocument(urlCache).Contains(url));

            if (syncDocumentToRemove != null)
            {
                this.RemoveSyncDocumentFromDownloadQueue(syncDocumentToRemove);
            }
        }
 /// <summary>
 /// Removes the synchronize document from download queue.
 /// </summary>
 /// <param name="syncDocument">The synchronize document.</param>
 public void RemoveSyncDocumentFromDownloadQueue(SyncDocument syncDocument)
 {
     this.SyncDocuments.Remove(syncDocument);
     this.WriteAccountInformation();
 }