If you are looking for an equivanet for Thread.Sleep method in UWP apps , you can use the Task.Delay method instead.
The reason for this is that Task.Delay works like a pause method for the asynchronous call.
await Task.Delay(TimeSpan.FromSeconds(10));
Leave a Reply