RemotingSurrogateSelector.ChainSelector(ISurrogateSelector) Method

Definition

Adds the specified ISurrogateSelector to the surrogate selector chain.

C#
public virtual void ChainSelector(System.Runtime.Serialization.ISurrogateSelector selector);
C#
[System.Security.SecurityCritical]
public virtual void ChainSelector(System.Runtime.Serialization.ISurrogateSelector selector);

Parameters

selector
ISurrogateSelector

The next ISurrogateSelector to examine.

Implements

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1