For Win 8 Metro App, how to start background task immediately without Trigger?

限于喜欢 提交于 2019-12-11 07:25:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!