RemotingSurrogateSelector.ChainSelector Method (ISurrogateSelector)

 
System_CAPS_noteNote

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

Adds the specified ISurrogateSelector to the surrogate selector chain.

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

[SecurityCriticalAttribute]
public 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: