Home > Software > .NET > Dot-Net
Interview Questions   Tutorials   Discussions   

Dot-Net - What are the differences between Marshal by value and Marshal by reference?




251
views
asked mar September 26, 2014 03:34 PM  

What are the differences between Marshal by value and Marshal by reference?


           

1 Answers



 
answered By siddhant   0  

Marshal By Reference

All types which derive from MarshalByRefObject will marshal by reference. These object instances do not travel between AppDomain instances and cannot be accessed directly. They are allocated in a specific AppDomain and do not leave it and a proxy is manipulated to show changes in the main object.

Marshal By Value

The opposite of MarshalByRefObject. When these values are passed across AppDomain boundaries they are are serialized and 2 instances are created, one in each domain.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  1 person following this tag

  Question tags

Asked 2 years and 3 months ago ago
Number of Views -251
Number of Answers -1
Last updated
3 years and 2 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert