简体   繁体   English

在Windows Phone 8中启动时重新启动后台代理

[英]Restarting Background agent on Boot in Windows Phone 8

As in Android we have Broadcast Receiver which helps us the receive the Boot_Completed broadcast and restart our service. 与Android中一样,我们具有Broadcast Receiver,它可以帮助我们接收Boot_Completed广播并重新启动我们的服务。

I am wandering if Windows Phone 8 SDK has something similar for background agent or scheduler task, if we restart a windows phone. 如果我们重新启动Windows Phone,Windows Phone 8 SDK是否具有与后台代理或调度程序任务相似的功能,我会在徘徊。

Thanks 谢谢

Windows Phone 8 background agents run automatically when you restart Windows. 重新启动Windows时,Windows Phone 8后台代理会自动运行。 If the work of background agent was enableded (OS settings), then after you restart a Windows background agent starts automatically, it does not require action from you. 如果启用了后台代理的工作(操作系统设置),则在您重新启动Windows后台代理后,它会自动启动,不需要您采取任何措施。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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