ItemChange Class

Represent a change to an item. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.ItemChange

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ItemChange _
    Implements ISerializable, IDeserializationCallback
'Usage
Dim instance As ItemChange
[SerializableAttribute]
public sealed class ItemChange : ISerializable, 
    IDeserializationCallback
[SerializableAttribute]
public ref class ItemChange sealed : ISerializable, 
    IDeserializationCallback
[<SealedAttribute>]
[<SerializableAttribute>]
type ItemChange =  
    class
        interface ISerializable
        interface IDeserializationCallback
    end
public final class ItemChange implements ISerializable, IDeserializationCallback

The ItemChange type exposes the following members.

Constructors

  Name Description
Public method ItemChange(SyncIdFormatGroup, SyncId, SyncId, ChangeKind, SyncVersion, SyncVersion) Initializes a new instance of the ItemChange class that contains the specified ID format schema, replica ID, item ID, change kind, creation version, and change version.
Public method ItemChange(SyncIdFormatGroup, SyncId, SyncId, ChangeKind, SyncVersion, IEnumerable<ChangeUnitChange>) Initializes a new instance of the ItemChange class that contains the specified ID format schema, replica ID, item ID, change kind, creation version, and change unit collection.
Public method ItemChange(SyncIdFormatGroup, SyncId, SyncId, SyncId, SyncVersion, SyncVersion) Initializes a new instance of the ItemChange class that represents a merge tombstone, by using the specified ID format schema, replica ID, item ID, winning item ID, creation version, and change version.

Top

Properties

  Name Description
Public property AllChangeUnitsPresent Gets a value that indicates whether all change units are present in this change.
Public property ChangeKind Gets the kind of change that is represented by this object.
Public property ChangeUnitChanges Gets the collection of change unit changes that are contained in the item change.
Public property ChangeVersion Gets the change version that is associated with this change.
Public property CreationVersion Gets the creation version that is associated with the changed item.
Public property IsMergeTombstone Gets a value that indicates whether this change is a merge tombstone.
Public property ItemId Gets the ID of the changed item.
Public property LearnedKnowledge Gets the knowledge that a replica will learn when this change is applied to its item store.
Public property MadeWithKnowledge Gets the made-with knowledge for this change.
Public property MergeTombstoneWinnerId Gets the item ID that is used to identify the merged item in the synchronization community.
Public property ReplicaId Gets the ID of the replica that enumerated this change.
Public property WorkEstimate Gets or sets the work estimate for this change.

Top

Methods

  Name Description
Public method AddChangeUnitChange Adds a change unit change to this object.
Public method AddFilterChange Adds information that indicates whether this change causes the item to move in or out of a specified filter.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetFilterChange Gets information that indicates whether this change causes the item to move into or out of a specified filter.
Public method GetHashCode (Inherited from Object.)
Public method GetLearnedKnowledgeWithPrerequisite Gets the knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.
Public method GetObjectData Serializes the ItemChange object data to the specified SerializationInfo object. This method cannot be inherited.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnDeserialization Called after this object has been created and initialized as a result of deserialization. This method cannot be inherited.
Public method SetAllChangeUnitsPresent Sets a value that indicates that all change units are present in this change.
Public method ToString (Inherited from Object.)

Top

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 Namespace