SerializationObjectManager Class

Definition

Caution

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

Manages serialization processes at run time. This class cannot be inherited.

public ref class SerializationObjectManager sealed
public sealed class SerializationObjectManager
[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
Inheritance
SerializationObjectManager
Attributes

Remarks

This class performs similar tasks as the ObjectManager. The main difference is that the SerializationObjectManager performs its tasks during serialization while the ObjectManager performs its tasks during deserialization.

Constructors

SerializationObjectManager(StreamingContext)

Initializes a new instance of the SerializationObjectManager class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RaiseOnSerializedEvent()

Invokes the OnSerializing callback event if the type of the object has one; and registers the object for raising the OnSerialized event if the type of the object has one.

RegisterObject(Object)

Registers the object upon which events will be raised.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also