将参数传递给 IBackgroundTask [英] Pass parameters to IBackgroundTask

查看:34
本文介绍了将参数传递给 IBackgroundTask的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 windows rt 实现一个 windows store 应用程序.它使用后台任务来更新其磁贴.我希望能够将后台任务和应用程序配置为在执行工作时使用相同的 url,所以我想使用统一或集中的配置.现在我正在使用一些 *.resw 文件来配置我的 Windows 应用商店应用程序中的某些方面.如何将此配置传递给后台任务?

I am implementing a windows store application for windows rt. It uses a backgroundtask to update its tile. I want to be able to configure the backgroundtask and the application to use the same urls when performing work, so i want to use a unified or centralized configuration. Right now i am using some *.resw files to configure certain aspects in my Windows Store application. How can i pass this configuration to the background task?

推荐答案

奇怪的是,我在不同的帖子中回答了我自己的问题

Weirdly enough i answered my own question in a different thread

使用来自后台任务的应用程序 resw 文件

这篇关于将参数传递给 IBackgroundTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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