FormatterAssemblyStyle Wyliczenie

Definicja

Przestroga

Formatter-based serialization is obsolete and should not be used.

Wskazuje metodę, która będzie używana podczas deserializacji do lokalizowania i ładowania zestawów.

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
Dziedziczenie
FormatterAssemblyStyle
Atrybuty

Pola

Full 1

W trybie pełnym zestaw używany podczas deserializacji musi być dokładnie zgodny z zestawem używanym podczas serializacji. Metoda LoadAssembly klasy służy do ładowania zestawu.

Simple 0

W trybie prostym zestaw używany podczas deserializacji nie musi być dokładnie zgodny z zestawem używanym podczas serializacji. W szczególności numery wersji nie muszą być zgodne, ponieważ LoadWithPartialName metoda jest używana do ładowania zestawu.

Dotyczy