Ken Kolda
9/16/2004 3:40:00 PM
If the class is marked as Serializable, both public and private fields are
serialized (unless you mark a field as [NonSerialized]).
Ken
"Henke" <henke_nord@hotmail.com> wrote in message
news:%23Ceog08mEHA.556@tk2msftngp13.phx.gbl...
> Hi!
> If you are using MBV (Marshal By Value) it's partly true. If you mark your
> class as Serializable all public properties are serialized. If you are
using
> MBR (Marshal By Reference) the object isn't serialized, that's you don't
get
> a copy of it on your client, rather a stub to the object located on the
> server.
>
> /H
>
> "TIBM" <TIBM@discussions.microsoft.com> skrev i meddelandet
> news:AE7E4FAD-642D-41AF-A298-1894FD137425@microsoft.com...
> > Hi. I'm 99.99% sure of the following, but I would still like someone to
> > confirm this:
> > When you access remote objects on the local machine (client and server
are
> > on the same machine), the object and object's data are serialized;
> basically
> > anything accessed through remoting is obviously serialized.
> > Thanks
>
>