0
Reply

Transparent proxy

Mari R

Mari R

Nov 8 2005 7:15 AM
3.9k
I'm having a problem with proxies. I use a transparent proxy to intercept method calls. Everything goes well if i use the "proxy.method(args)" way but when i use "methodInfo.invoke(proxy,args)" i get a Reflection.TargetException, it says something like "the object doesn't match with the target's type". Thanks a lot