SafeSerializationEventArgs 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Formatter-based serialization is obsolete and should not be used.
为 SerializeObjectState 事件提供数据。
public ref class SafeSerializationEventArgs sealed : EventArgs
public sealed class SafeSerializationEventArgs : EventArgs
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class SafeSerializationEventArgs : EventArgs
type SafeSerializationEventArgs = class
inherit EventArgs
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type SafeSerializationEventArgs = class
inherit EventArgs
Public NotInheritable Class SafeSerializationEventArgs
Inherits EventArgs
- 继承
- 属性
序列化包含安全透明代码中的自定义数据的异常时发生 该事件。
有关详细信息和示例,请参阅 ISafeSerializationData 类。
Streaming |
已过时.
获取或设置一个对象,该对象描述序列化流的源和目标。 |
Add |
已过时.
存储异常的状态。 |
Equals(Object) |
已过时.
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
已过时.
作为默认哈希函数。 (继承自 Object) |
Get |
已过时.
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
已过时.
创建当前 Object 的浅表副本。 (继承自 Object) |
To |
已过时.
返回表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 (已过时) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8, 9) |
.NET Framework | 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 |