Comparteix a través de


SurrogateSelector.ChainSelector(ISurrogateSelector) Método

Definición

Agrega a la lista de suplentes el objeto ISurrogateSelector especificado que puede controlar un tipo de objeto concreto.

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)

Parámetros

selector
ISurrogateSelector

Selector de suplentes que se va a agregar.

Implementaciones

Atributos

Excepciones

El parámetro selector es null.

El selector ya existe en la lista de selectores.

El llamador no dispone del permiso requerido.

Comentarios

El último selector agregado a la lista será el primero activado.

Se aplica a