FormatterAssemblyStyle 列挙型

定義

注意事項

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

アセンブリを検索して読み込むための逆シリアル化中に使用されるメソッドを示します。

public enum class 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
public enum FormatterAssemblyStyle
[System.Serializable]
public enum FormatterAssemblyStyle
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum FormatterAssemblyStyle
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FormatterAssemblyStyle = 
type FormatterAssemblyStyle = 
[<System.Serializable>]
type FormatterAssemblyStyle = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterAssemblyStyle = 
Public Enum FormatterAssemblyStyle
継承
FormatterAssemblyStyle
属性

フィールド

名前 説明
Simple 0

単純モードでは、逆シリアル化時に使用されるアセンブリが、シリアル化時に使用されるアセンブリと正確に一致する必要はありません。 具体的には、 LoadWithPartialName メソッドを使用してアセンブリを読み込むので、バージョン番号が一致する必要はありません。

Full 1

フル モードでは、逆シリアル化中に使用されるアセンブリは、シリアル化時に使用されるアセンブリと正確に一致する必要があります。 アセンブリの読み込みには、Load クラスの Assembly メソッドが使用されます。

適用対象