I want to use a background task for my UWP app.
The below code, is my back button click event in windows mobile-
private async void MainPage_BackRequeste
Extended Execution has been in talks for quite a long now. You can definitely continue the app execution even when it is minimized. I don't have a working sample yet but you can get some insight by looking at the link here
ExtendedExecution will allow you to keep running and finish your task before you get suspended. Please take a look at the official sample for ExtendedExecution