问题
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...
来源:https://stackoverflow.com/questions/8859139/for-win-8-metro-app-how-to-start-background-task-immediately-without-trigger