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 | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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 | |
---|---|---|
![]() |
AllChangeUnitsPresent | Gets a value that indicates whether all change units are present in this change. |
![]() |
ChangeKind | Gets the kind of change that is represented by this object. |
![]() |
ChangeUnitChanges | Gets the collection of change unit changes that are contained in the item change. |
![]() |
ChangeVersion | Gets the change version that is associated with this change. |
![]() |
CreationVersion | Gets the creation version that is associated with the changed item. |
![]() |
IsMergeTombstone | Gets a value that indicates whether this change is a merge tombstone. |
![]() |
ItemId | Gets the ID of the changed item. |
![]() |
LearnedKnowledge | Gets the knowledge that a replica will learn when this change is applied to its item store. |
![]() |
MadeWithKnowledge | Gets the made-with knowledge for this change. |
![]() |
MergeTombstoneWinnerId | Gets the item ID that is used to identify the merged item in the synchronization community. |
![]() |
ReplicaId | Gets the ID of the replica that enumerated this change. |
![]() |
WorkEstimate | Gets or sets the work estimate for this change. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddChangeUnitChange | Adds a change unit change to this object. |
![]() |
AddFilterChange | Adds information that indicates whether this change causes the item to move in or out of a specified filter. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetFilterChange | Gets information that indicates whether this change causes the item to move into or out of a specified filter. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
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. |
![]() |
GetObjectData | Serializes the ItemChange object data to the specified SerializationInfo object. This method cannot be inherited. |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | Called after this object has been created and initialized as a result of deserialization. This method cannot be inherited. |
![]() |
SetAllChangeUnitsPresent | Sets a value that indicates that all change units are present in this change. |
![]() |
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.