What is the difference between serializable and marshalbyrefobject in remoting?

Showing Answers 1 - 1 of 1 Answers

balajifortest

  • Sep 28th, 2006
 

Hai,

  In .net Remoting if u want ur class to be participated in remoting it has to inherit  from MarshalByRefObject class so that class definition can be passed by  reference  Where as [seraliazable] attribute is preceded before class that is can be seralized but this is used in conjuction with MarshalByValue class.Because when we pass by value then only we require this attribute.

with Regards,

  Balaji.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions