12th-Background task:
Today we will discuss background tasks. To put it simply, the background task is:
A background task is the code that runs when the program is not running.
Consider the following scenarios:
When a user runs another program, the user continuously plays music.
Update user dynamic tile to reflect new data
A Toast notification pops up to tell the user that something important has occurred.
Update the user's lock screen when the device is locked
There are two steps to create and register a background task in the system. First, you must register a background task in the package. appxmanifest file. After registration, you also need to register the trigger event of the task to the system in the program code. When the background task ends, there are additional events for relevant management. This article involves the content mentioned above.
PDF:
12th-Background task
For more information, visit the following link:
Windows 8 development day 31
Some