Windows Store applications may be suspended when the user switches to another app. The app may still want some work to happen even while the app is suspended and even terminated. This is the job of background tasks.
A task is just a class that implements the
Windows::ApplicationModel::Background::IBackgroundTask interface, having just one method,
Run. This class must be placed in a separate project from the main application, in a Windows Runtime Component type project. This is essential, as tasks run in a separate process, and thus cannot be bound with the main app (so they are not suspended if the main app is suspended).
The main application needs to reference the project where the task(s) are located, and indicate ...