Prabhu Raja
What is ObjRef object in remoting?
Posted by Prabhu Raja in .Net | Remoting on Nov 19, 2011
0
Do you know the answer for this question? Post it below.
Guest

An ObjRef is a serializable representation of an object,used to transfer an object reference across an AppDomain boundary.ObjRef contains information that describes the class and type of the Object being marshaled,its exact location and communication-related information.




  

Posted by Sonakshi Singh on Dec 12, 2011

All Marshal() methods return ObjRef object.The ObjRef is serializable because it implements the interface ISerializable, and can be marshaled by value. The ObjRef knows about :-

  •  location of the remote object
  •  host name
  •  port number
  •  object name.

Posted by Anuja Pawar on Nov 29, 2011

ObjRef is a searializable object returned by Marshal() that knows about location of the remote object, host name, port number, and object name.

Posted by Prabhu Raja on Nov 19, 2011
Sponsored by
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
Sponsored by
Team Foundation Server Hosting
Become a Sponsor
PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | REPORT ABUSE © 2011 C# Corner. All contents are copyright of their authors.