title: Invoking UI thread from BeginGetResponse in Silverlight
body: <p>I know how to do this in everyday .NET, but mucking round with WP7 development and Silverlight is driving me mad. An HttpWebRequest response must be done async, cool with that, but how can I invoke the UI thread from the async method?</p>
  
  <p>i.e.</p>
  
  <pre><code>HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create('http://stackoverflow.com');
  request.BeginGetResponse(new AsyncCallback(onRequestComplete), request);
  </code></pre>
  
  <p>I'm calling this in a class, which has a delegate set up. I'd like to call the delegate on the UI thread from <em>onRequestComplete</em>. I know I can do this the other way round, invoke from the delegate, but I feel this would be cleaner.</p>
  
  <p>Thanks in advance</p>