Background Task doesn't start

ぐ巨炮叔叔 提交于 2019-12-04 15:07:25

I finally got it working!!

First: I've moved the Tasks into a new assembly as a Windows RT Component Type and added a reference in my WinRT app.

Second: I had the BackgroundTaskRegistration and the UpdateItemTask in 1 cs file, with only the task as sealed. I needed to set the BackgroundTaskRegistration also as sealed, in order to compile. Once I force to fire the trigger it finally hits the breakpoint...

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