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
Dispatcher.BeginInvoke( () => {}); is replaced by
Dispatcher.BeginInvoke( () => {});
await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, async () => {});
and System.Threading.Thread.Sleep(); is replaced by
System.Threading.Thread.Sleep();
await Task.Delay(TimeSpan.FromSeconds(doubleValue));