Reading SyndicationFeed in ThreadPool.RunAsync <p>I'm developing a Windows 8 Metro RSS Feed app. Therefore I'm implementing a Background Task to check if new feeds are available and inform the user if so. I do this as follows:</p> <pre><code>public sealed class UpdateCheck : IBackgroundTask { public async void Run(IBackgroundTaskInstance taskInstance) { BackgroundTaskDeferral backgroundTaskDeferral = taskInstance.GetDeferral(); await StartUpdateCheck(); backgroundTaskDeferral.Complete(); } public IAsyncAction StartUpdateCheck() { return ThreadPool.RunAsync(async o =&gt; { SyndicationClient client = new SyndicationClient(); SyndicationFeed feed = await client.RetrieveFeedAsync(new Uri("http://.../feed.xml")); ApplicationDataContainer applicationDataContainer = ApplicationData.Current.LocalSettings; string lastFeedId = (string) applicationDataContainer.Values["LastFeedId"]; if (lastFeedId != feed.Items.First().Id) { // inform user } }); } } </code></pre> <p>When I'm debugging the code and i want to step over the line <code>SyndicationFeed feed = await client.RetrieveFeedAsync(new Uri("http://.../feed.xml"));</code> by hitting F10, nothing happens. The further code lines don't get executed. So, when i set a breakpoint <em>before</em> the <code>RetrieveFeedAsync</code> method, the breakpoint gets hit. <em>After</em> this line, no breakpoint gets hit.</p> <p>I'm reading the RSS-Feeds on another position in the code, which is not a BackgroundTask (and not in a <code>ThreadPool.RunAsync</code> lambda expression) and there everything works fine, so the <code>ThreadPool.RunAsync</code> method might causes the problem.</p>