ItemChange Class

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

System.Object
  Microsoft.Synchronization.ItemChange

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

[SerializableAttribute]
public sealed class ItemChange : ISerializable, 
	IDeserializationCallback

The ItemChange type exposes the following members.

  NameDescription
Public methodItemChange(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 methodItemChange(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 methodItemChange(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

  NameDescription
Public propertyAllChangeUnitsPresentGets a value that indicates whether all change units are present in this change.
Public propertyChangeKindGets the kind of change that is represented by this object.
Public propertyChangeUnitChangesGets the collection of change unit changes that are contained in the item change.
Public propertyChangeVersionGets the change version that is associated with this change.
Public propertyCreationVersionGets the creation version that is associated with the changed item.
Public propertyIsMergeTombstoneGets a value that indicates whether this change is a merge tombstone.
Public propertyItemIdGets the ID of the changed item.
Public propertyLearnedKnowledgeGets the knowledge that a replica will learn when this change is applied to its item store.
Public propertyMadeWithKnowledgeGets the made-with knowledge for this change.
Public propertyMergeTombstoneWinnerIdGets the item ID that is used to identify the merged item in the synchronization community.
Public propertyReplicaIdGets the ID of the replica that enumerated this change.
Public propertyWorkEstimateGets or sets the work estimate for this change.
Top

  NameDescription
Public methodAddChangeUnitChangeAdds a change unit change to this object.
Public methodAddFilterChangeAdds information that indicates whether this change causes the item to move in or out of a specified filter.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetFilterChangeGets information that indicates whether this change causes the item to move into or out of a specified filter.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLearnedKnowledgeWithPrerequisiteGets 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 methodGetObjectDataSerializes the ItemChange object data to the specified SerializationInfo object. This method cannot be inherited.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDeserializationCalled after this object has been created and initialized as a result of deserialization. This method cannot be inherited.
Public methodSetAllChangeUnitsPresentSets a value that indicates that all change units are present in this change.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: