Exception thrown from request "0" for method GetResult: System.Reflection.TargetInvocationException: ?????????????????????? --
时间: 2023-08-27 10:17:18 浏览: 150
CollectionViewBoundsExceptionRepro:Xamarin.Forms.CollectionView的复制示例
回答: 根据引用中的内容,当你捕获到异常时,你可以在当前方法的范围内进行清理和其他必要的处理。如果你无法从异常中恢复,你就将相同的异常重新抛给调用者。至于引用和引用,它们描述了ApplicationException作为所有应用程序特定异常类的基类,它派生自Exception但不提供任何扩展功能。你应该从ApplicationException派生自定义的应用程序异常。Figure 1展示了基本的异常类层次结构。根据你提供的提示信息中的System.Reflection.TargetInvocationException,这是一个由反射调用引发的异常。详细的异常信息需要查看更多的上下文才能确定具体的原因和解决方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Exception Management Architecture Guide](https://blog.csdn.net/weixin_30606669/article/details/98535258)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [undefined](undefined)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文