I'm working in a .NET Framework 4.x application.
- Say I pass in a object to child
AppDomain
usingSetData(..)
method;- the object is
MarshallByRef
.
- the object is
- The code running child AppDomain changes the passed in Data. But the value is not getting reflected when the call returns to the parent domain?
- Is that by design? Is there a flag/attribute I can set to ensure that data changed is reflected back?
Correction The library was never updated ( to reflect MarhsallByRefObject). The problem fixed itself after using MarshallByRefObject. Performance