LocalItemChange Constructor
Initializes a new instance of the LocalItemChange class that contains the item key and version, and the type of change to the item.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
public:
LocalItemChange(
ItemFieldDictionary^ keyAndVersion,
LocalItemChangeType localItemChangeType
)
Parameters
- keyAndVersion
- Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary
The key and version that identify the changed item.
- localItemChangeType
- Type: Microsoft.Synchronization.SimpleProviders::LocalItemChangeType
A LocalItemChangeType enumeration value that specifies whether an item was created, updated, or deleted.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | localItemChangeType is not a valid LocalItemChangeType enumeration value or keyAndVersion is empty. |
| ArgumentNullException | keyAndVersion is a nullptr. |
Show: