Selects the remoting surrogate that can be used to serialize an object that derives from a MarshalByRefObject.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|ChainSelector||Adds the specified ISurrogateSelector to the surrogate selector chain.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetNextSelector||Returns the next ISurrogateSelector in the chain of surrogate selectors.|
|GetRootObject||Returns the object at the root of the object graph.|
|GetSurrogate||Returns the appropriate surrogate for the given type in the given context.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SetRootObject||Sets the object at the root of the object graph.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|UseSoapFormat||Sets up the current surrogate selector to use the SOAP format.|
A surrogate is an object that can handle the serialization requirements of an object. Remoting surrogates handle remoting serialization requirements of objects that derive from MarshalByRefObject. The manages registered surrogates for use by the BinaryFormatter and SoapFormatter.
During serialization for remoting purposes of a MarshalByRefObject, the remoting surrogate creates an ObjRef that contains all the relevant information required to activate and communicate with the remote object. The newly created ObjRef can then be sent to a remote location and used to create a proxy.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.