title: Update UI from different thread
body: <p>This is my first question here. As English is not my first language, forgive me for any mistakes.</p>
  
  <p>I'm trying to develop an application for Windows Phone 8.1 (XAML and C#) and I'm using .NET Framework 4.5.2.
  I just started studying multithreading in C# and would appreciate if anyone here could help me. All answers to related questions I've found so far are too complex.</p>
  
  <p>All I need is to create a new task from a button click that displays a message in a textblock control.</p>
  
  <pre><code>private void myButton_Click(object sender, RoutedEventArgs e)
  {
      Task t = new Task(MyMethod);
      t.Start();
  }
  
  private void MyMethod()
  {
      myTextBlock.Text = "Worked!";
  }
  </code></pre>
  
  <p>I'm getting the following exception: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).</p>
  
  <p>How can I correct this?</p>
  
  <p>Thanks in advance!</p>