将参数传递给 IBackgroundTask [英] Pass parameters to 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
这篇关于将参数传递给 IBackgroundTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!