G
Guest
code:
Assembly myAssembly = Assembly.LoadFrom("Cargo.dll");
object myObject = myAssembly.CreateInstance("Cargos.Cargo");
myObject.GetType().InvokeMember("Load", BindingFlags.InvokeMethod, null,
myObject, null); <- this line, generate a exception
The exception "NotSupportedException" is generated. What is wrong ?
Rogerio
Assembly myAssembly = Assembly.LoadFrom("Cargo.dll");
object myObject = myAssembly.CreateInstance("Cargos.Cargo");
myObject.GetType().InvokeMember("Load", BindingFlags.InvokeMethod, null,
myObject, null); <- this line, generate a exception
The exception "NotSupportedException" is generated. What is wrong ?
Rogerio