I am trying to use these two methods (of WP 8) in windows phone 8.1, but it gives error and doesn\'t compile, most probably becasue they are removed. I tried searching the new A
For Dispatcher, try this. MSDN
private async Task MyMethod() { await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { }); }
For Thread.Sleep() try await Task.Delay(1000). MSDN
Thread.Sleep()
await Task.Delay(1000)