SurrogateSelector.ChainSelector(ISurrogateSelector) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified ISurrogateSelector that can handle a particular object type to the list of surrogates.
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)
Parameters
- selector
- ISurrogateSelector
The surrogate selector to add.
Implements
- Attributes
Exceptions
The selector
parameter is null
.
The selector is already on the list of selectors.
The caller does not have the required permission.
Remarks
The last selector added to the list will be the first one checked.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.