Share via


KeyUniquenessException Class

The exception that is thrown when an attempt is made to save an item that has an invalid or duplicate ID.

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

Syntax

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

Remarks

Item IDs must be unique across the synchronization community.

Inheritance Hierarchy

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

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

KeyUniquenessException Members
Microsoft.Synchronization.MetadataStorage Namespace