Hi,

for remoting with c#, i get a object reference(objRef) from the server, and pass
an argument as interface in the objRef method, but it get serialization error.

the code is like below in client side,

objRef.method1(IParameter parameter);
where IParameter is an interface, is that
i cannot pass an object as an interface ?
It is OK when i pass an ordinary object in the method1.


Further more, can i pass an object as
arugment as marshalByRef. I have tried
but fails. It seem we can only pass
argument as marshalByValue, why ??

Thanks
Patrick
---------------------------------------------
 歡迎使用HongKong.com郵件系統
 Thank you for using hongkong.com Email system

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to