Delen via


ItemHasChangeUnitsException Class

The exception that is thrown when an attempt is made to get or set the ChangeVersion property on an ItemChange object that contains change units.

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

Syntax

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

Remarks

An ItemChange object does not track a version for the item as a whole. Instead, use ChangeUnitVersion on a particular ChangeUnitChange object in ItemChange.ChangeUnitChanges.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.ItemHasChangeUnitsException

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

ItemHasChangeUnitsException Members
Microsoft.Synchronization Namespace