On Sat, 2004-01-24 at 04:48, Gonzalo Paniagua Javier wrote:
<snip/>
> If you do my2AppDomain.CreateInstanceAndUnwrap (x, y), the new object is
> created in my2AppDomain, not the current one. Then it's unwrapped and
> what you get in the current domain is a proxy (for MarshalByRefObjects).
> 
> -Gonzalo

And if it's not a MarshalByRefObject (which is most objects), then you
get a copy of the object, not a proxy.  This is the case for structures,
String, etc.

So if it looks like you're getting a copy, not a proxy, make sure you
know what you're creating.

 - Jon


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to