private async void MainPageLoaded(object sender, RoutedEventArgs e) { await ThisMethod(); } private async Task ThisMethod()