ISurrogateSelector.ChainSelector(ISurrogateSelector) Method

Definition

Specifies the next ISurrogateSelector for surrogates to examine if the current instance does not have a surrogate for the specified type and assembly in the specified context.

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

Parameters

selector
ISurrogateSelector

The next surrogate selector to examine.

Attributes

Exceptions

The caller does not have the required permission.

Remarks

This method is protected by a SecurityAction.LinkDemand for the SecurityPermission with the SecurityPermissionFlag.SerializationFormatter specified.

Applies to