title: How to get Dispatcher in non UI code windows phone 8
body: <p>I can get the <code>CoreDispatcher</code> object in windows 8 as</p>
  
  <pre><code>CoreDispatcher dispatcher = Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher;
  </code></pre>
  
  <p>But how can I get the <code>Dispatcher</code> in windows phone 8<br>
  So that I can call </p>
  
  <pre><code>Dispatcher.BeginInvoke(delegate
  {
      //My statements
  });
  </code></pre>