System.Reflection.TargetInvocationException;需要帮助的理解 [英] System.Reflection.TargetInvocationException; need help understanding

查看:189
本文介绍了System.Reflection.TargetInvocationException;需要帮助的理解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此异常是什么意思,我该怎么解决?

What does this exception mean, and what can i do to fix it?

推荐答案

从MSDN:

通过反射调用的方法引发的异常.此类不能继承.

The exception that is thrown by methods invoked through reflection. This class cannot be inherited.

尝试查看InnerException的内容,或查看StackTrace看看会发生什么.

Try to see what the InnerException says or take a look at the StackTrace to see what happens.

编辑:在您的StackTrace中,在XAML中创建元素时似乎出现了问题.如前所述检查InnerException以获取更多信息.

Looking at your StackTrace it seems that occurs a problem while creating an element in your XAML. Check InnerException as said before to have more informations.

这篇关于System.Reflection.TargetInvocationException;需要帮助的理解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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