简体   繁体   中英

UWP (C#) Register Background Tasks Pre-App Launch

I have a UWP app that registers background tasks to update a Live Tile. These are working fine.

I have provisioned the package, and the icon is pinned to Start Menu, but, the background tasks don't register until a user has launched the app once.

Is there a way to automatically register these?

除非您可以在应用程序Prelaunch期间执行此操作,否则-否-无法在通过Store安装后显式运行任意代码块。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM