BackgroundTask每分钟的Windows Store应用(C#) [英] BackgroundTask every minute Windows Store App (C#)

查看:255
本文介绍了BackgroundTask每分钟的Windows Store应用(C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,经过多次通过互联网和试错,我构建了一个backgroundTask在W8应用搜索。但apperently窗户BackgroundTask类不只是让你有15分钟的时间间隔。

So after much searching through the internet and trial and errors I've constructed a backgroundTask in a W8 App. But apperently the windows BackgroundTask class does only allow you to have a interval of 15 minutes.

虽然对我开发的应用程序是这样没用的。我需要最多1分钟的间隔。有谁知道后台任务与悬浮在1分钟的最大间隔的应用程序运行工作的解决方法吗?

Though for the application I'm developing is this useless. I need a interval of max 1 minute. Does anyone know a working workaround for a background task to run with the app suspended in a max interval of 1 minute?

推荐答案

每的文件(见这里和的这里),有没有办法比每隔15分钟更频繁地安排它。你的问题意味着你已经知道这一点,但是。

Per the documentation (see here and here), there's no way to schedule it more frequently than every 15 minutes. Your question implies you already knew this, however.

我不认为有将是一种解决方法可用,即使你找到了一个,我敢肯定,这将是理由让您的应用程序被拒绝从商店。

I don't think there is going to be a workaround available, and even if you found one, I'm pretty sure that would be grounds for having your app rejected from the store.

这篇关于BackgroundTask每分钟的Windows Store应用(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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