For Win 8 Metro App, how to start background task

2019-08-05 06:50发布

问题:

The MSDN sample showed how to use the built-in System Triggers to start background tasks. How do you start a task without Trigger? Or how do you implement a custom Trigger? Some code would be nice.

I am using XAML/C#.

回答1:

According to this thread. Seems that you can't just launch a Background Task or make your own Trigger. In this case, a Metro app may not be appropriate...