问题描述
是否使用 TrySilentDownloadStorePackageUpdatesAsync 缓存,如果以编程方式取消下载操作,或者如果从下载完成后30秒运行时
限制后终止的后台任务调用此api?
Are packages downloaded partially using TrySilentDownloadStorePackageUpdatesAsync cached if this the download operation is programatically cancelled or if this api is invoked from a background task which gets terminated after the 30 seconds runtime limit before the download completes?
我是创建一个自动更新程序,想知道是否值得在后台任务中尝试下载程序包而无需用户干预(即如果允许自动更新)或使用应用程序上下文执行程序包下载。
I am creating an auto updater wondering if its worth trying the package downloads in the background task without user intervention (i.e If auto updates are allowed) Or perform package downloads using app context.
推荐答案
感谢您在此发布。
由于您的案例与UWP API更相关,我将将其移至UWP论坛以获得更好的支持。
Since your case is more related to UWP API, I will move it to UWP forum for better support.
您的理解与合作将不胜感激。
Your understanding and cooperation will be grateful.
最诚挚的问候,
Baron Bi
这篇关于TrySilentDownloadStorePackageUpdatesAsync和缓存下载(通用Windows应用程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!