Bewerken

Delen via


RemotingSurrogateSelector.ChainSelector(ISurrogateSelector) Method

Definition

Adds the specified ISurrogateSelector to the surrogate selector chain.

public:
 virtual void ChainSelector(System::Runtime::Serialization::ISurrogateSelector ^ selector);
public virtual void ChainSelector (System.Runtime.Serialization.ISurrogateSelector selector);
[System.Security.SecurityCritical]
public virtual void ChainSelector (System.Runtime.Serialization.ISurrogateSelector selector);
abstract member ChainSelector : System.Runtime.Serialization.ISurrogateSelector -> unit
override this.ChainSelector : System.Runtime.Serialization.ISurrogateSelector -> unit
[<System.Security.SecurityCritical>]
abstract member ChainSelector : System.Runtime.Serialization.ISurrogateSelector -> unit
override this.ChainSelector : System.Runtime.Serialization.ISurrogateSelector -> unit
Public Overridable Sub ChainSelector (selector As ISurrogateSelector)

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