RemotingSurrogateSelector.ChainSelector Method (ISurrogateSelector)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Adds the specified ISurrogateSelector to the surrogate selector chain.

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

public virtual void ChainSelector(
	ISurrogateSelector 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