user7216729
user7216729

Reputation:

UWP Background Task System Shutdown

I'm learning Win 10 UWP and my goal is to write an SQLite database entry every 15 minutes using a background task.

My question is, what happens to the background task when the user shuts down the system and restarts it later on?

As I can understand, the user has to start the application again manually to register the background task again. Or is the background task somehow registered somewhere and restarts when the system is back up again without having to manually restart the background task again?

Upvotes: 1

Views: 353

Answers (1)

Kevin Gosse
Kevin Gosse

Reputation: 39007

Once you've registered your background task, it stays around even after the computer reboots. The user doesn't have to launch your application again.

Upvotes: 1

Related Questions