RemotingSurrogateSelector.ChainSelector(ISurrogateSelector) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 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
要检查的下一个 ISurrogateSelector。
实现
- 属性
注解
远程代理项以附加到 实例的 RemotingSurrogateSelector链排列。 每个链都包含代理项选择器检查的远程代理项,以查找给定对象类型的兼容代理项。 当前方法将新的远程处理代理项选择器添加到代理项链,该代理项链将检查兼容的代理项。