Extended execution in UWP

后端 未结 2 469
挽巷
挽巷 2021-01-28 02:20

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         


        
2条回答
  •  南方客
    南方客 (楼主)
    2021-01-28 03:04

    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

提交回复
热议问题