#if HAVE_OBSOLETE_FORMATTER_ASSEMBLY_STYLE namespace System.Runtime.Serialization.Formatters { /// /// Indicates the method that will be used during deserialization for locating and loading assemblies. /// [Obsolete("FormatterAssemblyStyle is obsolete. Use TypeNameAssemblyFormatHandling instead.")] public enum FormatterAssemblyStyle { /// /// In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. /// Simple = 0, /// /// In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. /// Full = 1 } } #endif