سؤال

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#.

هل كانت مفيدة؟

المحلول

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...

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top