creating an instance category name
i'm perplexing emanate an instance category during run time. classes i'm perplexing emanate get bottom class, configmgrobj, named configmgr_xxxxxx
e.g. configmgr_collection
. take special vigilant i'm job ocontroller twine arguments.
this line i'm controlling it, where classtoget twine contains name category e.g. configmgr_collection
.
object onewobject = system.activator.createinstance(null, "stack namespace." + classtoget, new object[] { ocontroller, classtoget });
this throws typeloadexception exception. what's adult it?
Comments
Post a Comment