SurrogateSelector.ChainSelector(ISurrogateSelector) 方法

定义

在代理项列表中添加指定的 ISurrogateSelector,它可以处理特定的对象类型。

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)

参数

selector
ISurrogateSelector

要添加的代理项选择器。

实现

属性

例外

selector 参数为 null

该选择器已经位于选择器列表中。

调用方没有所要求的权限。

注解

添加到列表的最后一个选择器将是选中的第一个选择器。

适用于