RemotingSurrogateSelector::ChainSelector Method (ISurrogateSelector^)

 

Adds the specified ISurrogateSelector to the surrogate selector chain.

Namespace:   System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
virtual void ChainSelector(
	ISurrogateSelector^ selector
)

Parameters

selector
Type: System.Runtime.Serialization::ISurrogateSelector^

The next ISurrogateSelector to examine.

Remoting surrogates are arranged in chains that are attached to an instance of the RemotingSurrogateSelector. Each chain contains the remoting surrogates that the surrogate selector checks to find a compatible surrogate for a given object type. The current method adds a new remoting surrogate selector to the surrogate chain that is examined for compatible surrogates.

.NET Framework
Available since 1.1
Return to top
Show: