I have a complex data contract sending to wcf service side. After processing
on the service side, some of the data members will be modified by the
service. Does the sending know the change automatically(just like the one
pass by reference)? If not, how does the client know the change?
>I have a complex data contract sending to wcf service side. After
>processing
> on the service side, some of the data members will be modified by the
> service. Does the sending know the change automatically(just like the one
> pass by reference)? If not, how does the client know the change?
The only way this could work is:
MyDataContrractClass mine = whatever;
mine = svc.Operation(mine);
or
svc.Operation(ref mine);
In both cases, one version is sent to the server, and the changed version is
returned to the client.

Signature
John Saunders [MVP]