SerializationObjectManager 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Formatter-based serialization is obsolete and should not be used.
在运行时管理序列化过程。 此类不能被继承。
public ref class SerializationObjectManager sealed
C#
public sealed class SerializationObjectManager
C#
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class SerializationObjectManager
type SerializationObjectManager = class
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type SerializationObjectManager = class
Public NotInheritable Class SerializationObjectManager
- 继承
-
SerializationObjectManager
- 属性
此类执行的任务与 类似 ObjectManager。 main区别在于 , SerializationObjectManager 在序列化期间执行其任务,ObjectManager而在反序列化期间执行其任务。
Equals(Object) |
已过时.
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
已过时.
作为默认哈希函数。 (继承自 Object) |
Get |
已过时.
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
已过时.
创建当前 Object 的浅表副本。 (继承自 Object) |
Raise |
已过时.
如果该对象的类型有一个 OnSerializing 回调事件,则调用该事件;如果该对象的类型有一个 OnSerialized 事件,则注册该对象以引发该事件。 |
Register |
已过时.
注册将引发事件的对象。 |
To |
已过时.
返回表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 (已过时) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8 (package-provided), 8, 9 (package-provided), 9) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |