共用方式為


RemotingSurrogateSelector.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

要檢查的下一個 ISurrogateSelector

實作

屬性

備註

遠端代理會排列在連結至 實例的 RemotingSurrogateSelector鏈結中。 每個鏈結都包含 Surrogate 選取器檢查的遠端代理,以尋找指定物件類型的相容 Surrogate。 目前的方法會將新的遠端代理選取器加入至已檢查相容 Surrogates 的 Surrogate 鏈結。

適用於