SerializationStore Class

 

Provides the base class for storing serialization data for the ComponentSerializationService.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

System.Object
  System.ComponentModel.Design.Serialization.SerializationStore

[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public abstract class SerializationStore : IDisposable

NameDescription
System_CAPS_protmethodSerializationStore()

Initializes a new instance of the SerializationStore class.

NameDescription
System_CAPS_pubpropertyErrors

Gets a collection of errors that occurred during serialization or deserialization.

NameDescription
System_CAPS_pubmethodClose()

Closes the serialization store.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the SerializationStore and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave(Stream)

Saves the store to the given stream.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Releases all resources used by the SerializationStore.

The SerializationStore class is an implementation-specific class that stores serialization data for the ComponentSerializationService. The service adds state to this serialization store. Once the store is closed, it can be saved to a stream. A serialization store can be deserialized at a later time by the same type of serialization service. The SerializationStore class implements the IDisposable interface so that IDisposable.Dispose simply calls the Close method.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: