[C#] Backgrounddownloader.createdownload HRESULT:hresult 0x80072ee4 [英] [C#]Backgrounddownloader.createdownload HRESULT : hresult 0x80072ee4

查看:201
本文介绍了[C#] Backgrounddownloader.createdownload HRESULT:hresult 0x80072ee4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家都希望有人可以对这一特定问题有所了解。

Hi all hope that some one can shed some light on this particular issue.

在某些设备上,metro应用程序可能会进入用户无法下载的状态使用Backgrounddownloader.createdownload方法的文件。

On some devices a metro application can get into a state where the user is unable to download a file using the Backgrounddownloader.createdownload method.

在错误点,应用程序创建了空容器XXX.zip 0KB,但随后出现了应用程序错误。

At the point of error the application has created the empty container XXX.zip 0KB but then the application errors.

System.Exception was unhandled by user code
  HResult=-2147012892
  Message=Exception from HRESULT: 0x80072EE4
  Source=Windows.Networking
  StackTrace:
   at Windows.Networking.BackgroundTransfer.BackgroundDownloader.CreateDownload(Uri uri, IStorageFile resultFile)
       at Example.BlankPage1.<DownloadFile>d__1.MoveNext()
  InnerException: 

我在MSDN上找到了一些信息应用程序处于开发(调试)状态,内部缓存可能会失去同步。在这种情况下,应用程序已从应用程序商店下载,我也试图清除缓存并删除app
但没有任何成功。

I have found some information on MSDN that whilst the app is in development (debug) that the internal cache can get out of sync. In this case the application has been downloaded from the app store, also I have tried to clear the cache and remove the app without any success.

到目前为止我唯一的方法已经发现解决问题的方法是在设备上执行软复位。

So far the only way I have found that resolves the issue is to preform a soft reset on the device.

以前有人见过这个吗?

谢谢

推荐答案

你好Chris,

Hi Chris,

基于你的代码 Backgrounddownloader.createdownload
,这是一个Windows运行时API。我怀疑你正在开发windows-store-apps,为了获得更好的支持,我会把你的案子移到  UWP论坛。

Based on your code Backgrounddownloader.createdownload , this is a windows runtime API. I suspect you are developing windows-store-apps, for a better support, I will move your case to  UWP forum.

祝你好运,

Kristin


这篇关于[C#] Backgrounddownloader.createdownload HRESULT:hresult 0x80072ee4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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