SurrogateSelector.ChainSelector(ISurrogateSelector) SurrogateSelector.ChainSelector(ISurrogateSelector) SurrogateSelector.ChainSelector(ISurrogateSelector) SurrogateSelector.ChainSelector(ISurrogateSelector) Method

Definition

Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.

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
Public Overridable Sub ChainSelector (selector As ISurrogateSelector)

Parameters

Implements

Exceptions

The caller does not have the required permission.

Remarks

The last selector added to the list will be the first one checked.

Security

SecurityPermission
for providing serialization services. Associated enumeration: SerializationFormatter.

Applies to