ChangeUnitChange Constructor

Initializes a new instance of the ChangeUnitChange class.

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

public:
ChangeUnitChange(
	SyncIdFormatGroup^ idFormats, 
	SyncId^ changeUnitId, 
	SyncVersion^ changeUnitVersion
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
changeUnitId
Type: Microsoft.Synchronization::SyncId
The ID of the change unit.
changeUnitVersion
Type: Microsoft.Synchronization::SyncVersion
The version for the change unit change.

ExceptionCondition
ArgumentNullException

idFormats or changeUnitVersion is a nullptr.

SyncIdFormatMismatchException
  • changeUnitId.IsVariableLength differs from idFormats.IsVariableLength,

  • changeUnitId is variable length and is longer than idFormats,

  • changeUnitId has an invalid length,

—or—

  • changeUnitId is not variable length and is a different length than idFormats.

Show: