共用方式為


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

選取器已經在選取器清單上。

呼叫端沒有必要的權限。

備註

新增至清單的最後一個選取器將會是第一個選取器。

適用於