Adds another selector to check if we don't have match within this selector.
[Visual Basic] Overridable Public Sub ChainSelector( _ ByVal selector As ISurrogateSelector _ ) [C#] public virtual void ChainSelector( ISurrogateSelector selector ); [C++] public: virtual void ChainSelector( ISurrogateSelector* selector ); [JScript] public function ChainSelector( selector : ISurrogateSelector );
Exception Type | Condition |
---|---|
ArgumentException | The selector parameter is a null reference (in Visual Basic Nothing). |
SerializationException | The selector is already on the list of selectors. |
The logic is: "Add this onto the list as the first thing that you check after yourself."
SurrogateSelector Class | SurrogateSelector Members | System.Runtime.Serialization Namespace