public class RemotingSurrogateSelector : ISurrogateSelector
|
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.
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. Initializes a new instance of the RemotingSurrogateSelector class. |
Filter | Read-write Gets or sets the MessageSurrogateFilter delegate for the current instance of the RemotingSurrogateSelector. |
ChainSelector | Adds the specified ISurrogateSelector to the surrogate selector chain. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
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 (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
SetRootObject | Sets the object at the root of the object graph. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
UseSoapFormat |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public RemotingSurrogateSelector(); |
public MessageSurrogateFilter Filter {get; set;}
|
public virtual void ChainSelector( |
selector
~RemotingSurrogateSelector(); |
public virtual int GetHashCode(); |
public virtual ISurrogateSelector GetNextSelector(); |
public object GetRootObject(); |
public virtual ISerializationSurrogate GetSurrogate( |
type
context
ssout
public Type GetType(); |
protected object MemberwiseClone(); |
public void SetRootObject( |
obj
Exception Type | Condition |
---|---|
ArgumentNullException | The obj parameter is null. |
public virtual string ToString(); |
public virtual void UseSoapFormat(); |