SyncMetadataStoreSerializer Class

When overridden by a derived class, serializes and deserializes metadata for a replica.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.MetadataStorage.SyncMetadataStoreSerializer
    Microsoft.Synchronization.MetadataStorage.SqlSyncMetadataStoreSerializer

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

Syntax

'Declaration
Public MustInherit Class SyncMetadataStoreSerializer
'Usage
Dim instance As SyncMetadataStoreSerializer
public abstract class SyncMetadataStoreSerializer
public ref class SyncMetadataStoreSerializer abstract
[<AbstractClassAttribute>]
type SyncMetadataStoreSerializer =  class end
public abstract class SyncMetadataStoreSerializer

The SyncMetadataStoreSerializer type exposes the following members.

Constructors

  Name Description
Protected method SyncMetadataStoreSerializer Initializes a new instance of the SyncMetadataStoreSerializer class.

Top

Methods

  Name Description
Public method DeserializeReplicaMetadata When overridden in a derived class, deserializes the contents of a metadata file to a metadata storage service store.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSerializedReplicaId When overridden in a derived class, returns the replica ID for the replica whose metadata was serialized to the specified destination file.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SerializeReplicaMetadata When overridden in a derived class, serializes, for the specified replica, the contents of a metadata storage service store to a destination file.
Public method ToString (Inherited from Object.)

Top

Remarks

The SqlSyncMetadataStoreSerializer class provided by Sync Framework implements this abstract class to serializes and deserialize metadata for a replica between a canonical metadata file format and version-specific metadata storage service store formats.

Thread Safety

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

See Also

Reference

Microsoft.Synchronization.MetadataStorage Namespace

Other Resources

Accessing Metadata from Components with Different Versions

Upgrading the Metadata Store Version