SerializationObjectManager SerializationObjectManager SerializationObjectManager SerializationObjectManager Class

定義

在執行階段管理序列化處理序。Manages serialization processes at run time. 這個類別無法被繼承。This class cannot be inherited.

public ref class SerializationObjectManager sealed
public sealed class SerializationObjectManager
type SerializationObjectManager = class
Public NotInheritable Class SerializationObjectManager
繼承
SerializationObjectManagerSerializationObjectManagerSerializationObjectManagerSerializationObjectManager

備註

這個類別會執行類似工作ObjectManagerThis class performs similar tasks as the ObjectManager. 主要差異在於SerializationObjectManager執行其工作時的序列化期間ObjectManager還原序列化期間執行其工作。The main difference is that the SerializationObjectManager performs its tasks during serialization while the ObjectManager performs its tasks during deserialization.

建構函式

SerializationObjectManager(StreamingContext) SerializationObjectManager(StreamingContext) SerializationObjectManager(StreamingContext) SerializationObjectManager(StreamingContext)

初始化 SerializationObjectManager 類別的新執行個體。Initializes a new instance of the SerializationObjectManager class.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
RaiseOnSerializedEvent() RaiseOnSerializedEvent() RaiseOnSerializedEvent() RaiseOnSerializedEvent()

如果物件型別具有 OnSerializing 回呼 (Callback) 事件,則會叫用該事件;如果物件型別具有 OnSerialized 事件,則需登錄該物件以引發此事件。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) RegisterObject(Object) RegisterObject(Object) RegisterObject(Object)

登錄物件時會引發事件。Registers the object upon which events will be raised.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於

另請參閱