[UWP]单进程模型 - OnBackgroundActivated() [英] [UWP] Single process model - OnBackgroundActivated()

查看:86
本文介绍了[UWP]单进程模型 - OnBackgroundActivated()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些backgroundtasks作为单一进程模型实现 - OnBackgroundActivated(),所以它们都使用应用程序进程。其中一项任务是SocketActivityTrigger。当这个任务触发并且我从tile启动应用程序时(后台任务仍在运行),
我只看到黑屏。它看起来像一个僵局。我怎么能阻止这种行为?

I have some backgroundtasks implemented as single process model - OnBackgroundActivated(), so all of them use application process. One of the tasks is SocketActivityTrigger. When this task fires and I launch the app from tile (backgroundtask is still running), I see only black screen. It looks like a deadlock. How could I prevent this behaviour?

推荐答案

你好JP_MSDeveloper,



你能不能请提供证明我们问题的代码?
$


最好的问候,

David
Hi JP_MSDeveloper,

Could you please provide the code which demonstrates the issue with us?

Best Regards,
David


这篇关于[UWP]单进程模型 - OnBackgroundActivated()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆