The class or structure that implements the System.Runtime.Serialization.ISafeSerializationData allows you to serialize custom data in security-transparent code.
For more information and an example, see the System.Runtime.Serialization.ISafeSerializationData class.