An interesting remoting question.
For a given object I sometimes want an object reference and at other times I
want a copy of the object.
Now, everyone knows that with a [Serializable] object you get a copy, while
a MarshalByRefObject gets an objref.
If the object is both [Serializable] and MarshalByRefObject then by default
remoting gives you an object reference, though you can still manually
serialize and deserialize the object. The question is whether there ia a
simple way to override this default to get a copy of such an object?
Thanks.
Tim
Ken Kolda - 20 Dec 2004 21:49 GMT
No simple way. You'll have to serialize and serialize it manually to pass it
by value across the remoting boundary.
Ken
> An interesting remoting question.
>
[quoted text clipped - 12 lines]
>
> Tim