You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.0 KiB

  1. 
  2. #if HAVE_OBSOLETE_FORMATTER_ASSEMBLY_STYLE
  3. namespace System.Runtime.Serialization.Formatters
  4. {
  5. /// <summary>
  6. /// Indicates the method that will be used during deserialization for locating and loading assemblies.
  7. /// </summary>
  8. [Obsolete("FormatterAssemblyStyle is obsolete. Use TypeNameAssemblyFormatHandling instead.")]
  9. internal enum FormatterAssemblyStyle
  10. {
  11. /// <summary>
  12. /// 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 <see cref="M:System.Reflection.Assembly.LoadWithPartialName(String)"/> method is used to load the assembly.
  13. /// </summary>
  14. Simple = 0,
  15. /// <summary>
  16. /// In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <see cref="System.Reflection.Assembly.Load"/> is used to load the assembly.
  17. /// </summary>
  18. Full = 1
  19. }
  20. }
  21. #endif