ItemChange Constructor (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.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
ItemChange(
SyncIdFormatGroup^ idFormats,
SyncId^ replicaId,
SyncId^ itemId,
ChangeKind changeKind,
SyncVersion^ creationVersion,
IEnumerable<ChangeUnitChange^>^ changeUnitChanges
)
Parameters
- idFormats
- Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
- replicaId
- Type: Microsoft.Synchronization::SyncId
The ID of the replica that originated this change.
- itemId
- Type: Microsoft.Synchronization::SyncId
The ID of the item that was changed.
- changeKind
- Type: Microsoft.Synchronization::ChangeKind
The type of change that was made to the item.
- creationVersion
- Type: Microsoft.Synchronization::SyncVersion
The creation version of the item.
- changeUnitChanges
- Type: System.Collections.Generic::IEnumerable<ChangeUnitChange>
The collection of changes to change units that are contained in the item.
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats or changeUnitChanges is a nullptr. |
| ArgumentOutOfRangeException | changeUnitChanges is not empty and changeKind is Deleted. |
Show: