无法在Metro应用程序中调试后台任务 [英] unable to debug a background task in a metro application

查看:88
本文介绍了无法在Metro应用程序中调试后台任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个计时器后台任务,每15分钟运行一次.该任务每15分钟运行一次,但在错误日志中显示错误.错误日志中显示以下错误.

I have created a timer background task to run for every 15 mins. the task is being run for every 15 mins but it is showing a errors in error log. The below error is shown in error log.

Activation of app 5ff2e7ca-c909-4a8a-bc6c-199d3bca12d9_cj7gm2frb8y4m!App failed with error: A device attached to the system is not functioning. See the Microsoft-Windows-TWinUI/Operational log for additional information.


无法调试后台任务.


unable to debug the background task.

推荐答案


请参考以下链接:
背景任务示例 [如何在Metro中触发挂起,恢复和后台事件样式的应用程序 [ ^ ]
设置后台连接选项 [常规讨论 [
Hi,
Refer the links below:
Background task sample[^]
How to trigger suspend, resume, and background events in Metro style apps[^]
Setting background connectivity options[^]

You need to check General Discussion[^] also.


--Amit


这篇关于无法在Metro应用程序中调试后台任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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