FormatterAssemblyStyle 列舉

定義

表示將在尋找和載入組件的還原序列化 (Deserialization) 期間使用的方法。Indicates the method that will be used during deserialization for locating and loading assemblies.

public enum class FormatterAssemblyStyle
public enum FormatterAssemblyStyle
[System.Serializable]
public enum FormatterAssemblyStyle
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum FormatterAssemblyStyle
type FormatterAssemblyStyle = 
[<System.Serializable>]
type FormatterAssemblyStyle = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterAssemblyStyle = 
Public Enum FormatterAssemblyStyle
繼承
FormatterAssemblyStyle
屬性

欄位

Full 1

在完整模式下,還原序列化期間所使用的組件必須完全符合序列化 (Serialization) 期間所使用的組件。In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. Load 類別的 Assembly 方法可用來載入組件。The Load method of the Assembly class is used to load the assembly.

Simple 0

在簡單模式下,還原序列化期間所使用的組件無需完全符合序列化期間所使用的組件。In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. 特別是當 LoadWithPartialName 方法用於載入組件時,版本號碼無需相符。Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly.

適用於