protected virtual void DownloadHeader(ChannelMessageHeader header) { Logger.Debug("Starting task for header {0}", LogSource.Receive, header); var task = new ReceiveMessageDetailsTask(config, channel, header, folder) { ProgressGroup = ProgressGroup }; try { // Execute receive details task synchronously task.Execute(); } catch (Exception ex) { Logger.Error("An exception has occured while getting message data. Exception = {0}", LogSource.Channel, ex); } finally { ProgressGroup.IncrementProgress(); } }