FormatterAssemblyStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Formatter-based serialization is obsolete and should not be used.
Indicates the method that will be used during deserialization for locating and loading assemblies.
public enum class FormatterAssemblyStyle
public enum FormatterAssemblyStyle
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum FormatterAssemblyStyle
[System.Serializable]
public enum FormatterAssemblyStyle
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum FormatterAssemblyStyle
type FormatterAssemblyStyle =
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FormatterAssemblyStyle =
[<System.Serializable>]
type FormatterAssemblyStyle =
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterAssemblyStyle =
Public Enum FormatterAssemblyStyle
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Simple | 0 | 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 LoadWithPartialName method is used to load the assembly. |
Full | 1 | In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. |