title: Task continuation on UI thread
body: <p>Is there a 'standard' way to specify that a task continuation should run on the thread from which the initial task was created?</p>
  
  <p>Currently I have the code below - it is working but keeping track of the dispatcher and creating a second Action seems like unnecessary overhead.</p>
  
  <pre><code>dispatcher = Dispatcher.CurrentDispatcher;
  Task task = Task.Factory.StartNew(() =&gt;
  {
      DoLongRunningWork();
  });
  
  Task UITask= task.ContinueWith(() =&gt;
  {
      dispatcher.Invoke(new Action(() =&gt;
      {
          this.TextBlock1.Text = "Complete"; 
      }
  });
  </code></pre>