ReplicaMetadataInUseException Class

The exception that is thrown when an attempt is made to create more than one active ReplicaMetadata instance for a particular replica ID.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ReplicaMetadataInUseException
    Inherits MetadataStoreException
'Usage
Dim instance As ReplicaMetadataInUseException
[SerializableAttribute] 
public class ReplicaMetadataInUseException : MetadataStoreException
[SerializableAttribute] 
public ref class ReplicaMetadataInUseException : public MetadataStoreException
/** @attribute SerializableAttribute() */ 
public class ReplicaMetadataInUseException extends MetadataStoreException
SerializableAttribute 
public class ReplicaMetadataInUseException extends MetadataStoreException

Remarks

To prevent applications from making concurrent conflicting updates to the metadata store, multiple outstanding instances of ReplicaMetadata for a particular replica ID are not allowed. Applications can access the same ReplicaMetadata object from multiple threads, but multiple processes cannot concurrently access the same replica metadata.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
       Microsoft.Synchronization.MetadataStorage.MetadataStoreException
        Microsoft.Synchronization.MetadataStorage.ReplicaMetadataInUseException

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

ReplicaMetadataInUseException Members
Microsoft.Synchronization.MetadataStorage Namespace