Selects the remoting surrogate that can be used to serialize an object that derives from a MarshalByRefObject.
Assembly: mscorlib (in mscorlib.dll)
Adds the specified ISurrogateSelector to the surrogate selector chain.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns the next ISurrogateSelector in the chain of surrogate selectors.
Returns the object at the root of the object graph.
|GetSurrogate(Type, StreamingContext, ISurrogateSelector)|
Returns the appropriate surrogate for the given type in the given context.
Sets the object at the root of the object graph.
Returns a string that represents the current object.(Inherited from Object.)
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.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.