none
[UWP]In process background task - suspending

    Question

  • Is the in-process background task still running if the app is suspended? And if I register out-of-process background task, it is still running if the app is in state Not Running? Sorry I am little bit confused. Thank you.
    Sunday, November 4, 2018 11:40 AM

All replies

  • Hi,

    The in-process background task is still running when the app is suspended. But If the code running in an in-process background task crashes, it will take down your app. The out-of-process  background task is still running if the app is not running, this task runs in a separate process than your app's process.

    Please refer to MSDN articles for more details about  Create and register an in-process background task and Create and register an out-of-process background task.

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Azat Tazayan Tuesday, November 6, 2018 7:32 AM
    Monday, November 5, 2018 7:44 AM
    Moderator
  • Hi,

    Does my reply make sense? Does it solves your problem?

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, December 6, 2018 9:59 AM
    Moderator