ItemChange::AddChangeUnitChange Method

Adds a change unit change to this object.

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

public:
void AddChangeUnitChange(
	ChangeUnitChange^ changeUnitChange
)

Parameters

changeUnitChange
Type: Microsoft.Synchronization::ChangeUnitChange
The change unit change to add to this object.

ExceptionCondition
ArgumentNullException

changeUnitChange is a nullptr.

ArgumentOutOfRangeException

changeUnitChange has a parent change.

InvalidOperationException

This ItemChange is a deletion, represents an item that no longer exists, or changeUnitChange represents an unexpected change unit..

This method has the following side effects:

If ChangeKind is set to Deleted when this method is called, InvalidOperationException is thrown.

Show: