Sdílet prostřednictvím


ReplicaMetadata Class

When overridden, provides access to the replica metadata and item metadata in the metadata store. ReplicaMetadata also provides services for delete detection and helpers for implementing synchronization provider methods.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Public MustInherit Class ReplicaMetadata
'Usage
Dim instance As ReplicaMetadata
public abstract class ReplicaMetadata
public ref class ReplicaMetadata abstract
public abstract class ReplicaMetadata
public abstract class ReplicaMetadata

Remarks

ReplicaMetadata provides access to the metadata for the replica as a whole and access to metadata for items in the replica. For more information, see Accessing Replica Metadata.

ReplicaMetadata provides methods that help implement synchronization provider methods, such as GetChangeBatch. For more information, see Interoperating with a Provider.

ReplicaMetadata provides methods that can be used to determine which items were deleted from the replica and, therefore, should be marked as deleted in the metadata store. For more information, see Detecting Deleted Items.

Notes to Inheritors: When you inherit from ReplicaMetadata, you must override all members except IdFormats and ReplicaId.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.MetadataStorage.ReplicaMetadata

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

ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace