System.Activator.CreateInstance returning null

徘徊边缘 提交于 2019-12-06 02:31:20

Let's assume that Activator.CreateInstance does actually work correctly, then there must be sometihng wrong with the arguments supplied to the method call. (Hence the question earlier).

Due to lack of knowledge of the actual value passed to CreateInstance I'm guessing but I would suspect the value passed being null or being a type that is either internal but resides in a different assembly or similar access problems.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!