【发布时间】:2015-04-09 18:53:54
【问题描述】:
我在 Windows Phone 8 上使用 MVVMCross 和异步 Sqlite.net 创建应用程序。有时,当您转到某个页面时,我会遇到异常:
System.ArgumentException: Value does not fall within the expected range.inPage.xaml'.
at System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult)
at System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)
at System.Windows.Navigation.PageResourceContentLoader.BeginLoad_OnUIThread(AsyncCallback userCallback, PageResourceContentLoaderAsyncResult result)
at System.Windows.Navigation.PageResourceContentLoader.<>c__DisplayClass4.<BeginLoad>b__0(Object args)
如何确定问题的根源?
【问题讨论】:
-
页面资源内容加载器,我相信,负责加载资源字典。您的资源字典之一似乎有错误或错误值。
-
这个错误很少发生。
标签: silverlight exception windows-phone-8 asynchronous mvvmcross