Security Note
If the SafeMode flag is set in the Options property, then it is not allowed to use any surrogate selectors.
See the security notes at the Remarks section of the BinarySerializationFormatter class for more details.
public ISurrogateSelector? SurrogateSelector { get; set; }
Public Property SurrogateSelector As ISurrogateSelector
Get
Set
public:
virtual property ISurrogateSelector^ SurrogateSelector {
ISurrogateSelector^ get () sealed;
void set (ISurrogateSelector^ value) sealed;
}
abstract SurrogateSelector : ISurrogateSelector with get, set
override SurrogateSelector : ISurrogateSelector with get, set