我对存储在Windows 8.1的应用程序,但是当我尝试使用下一段代码新功能,我想添加到我的应用程序Windows应用商店CurrentApp.LoadListingInformationAsync() - 错误0x801900cc
var listingInfo = await CurrentApp.LoadListingInformationAsync();
我收到一个错误,我不完全知道它是什么意思。我确实发现了这个错误,然后我将它显示在一个MessageDialog上,然后我打印了一个屏幕。这是错误:
We could not receive your donation due to an unexpected error:
System.Exception: Exception from HRESULT: 0x801900CC
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ArchMedia_Player.Services.Donations.<ListingInformationAsync> d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ArchMedia_Player.Services.Donations.<Donate>d__a.MoveNext()
有人知道这意味着什么,我该如何解决它? 我还提到,这个工程完全确定:(使用CurrentApp 模拟器)
var listingInfo = await CurrentAppSimulator.LoadListingInformationAsync();
是的,所以在我添加了可以在应用程序内购买的产品之后,该应用程序不再崩溃并且代码正常工作。显然这是问题所在。尽管如此,它仍然可以工作,并且在我看到一切正常后我将会加入这些产品。谢谢汉斯! :) – TheQuestioner