ChangeUnitVersionDefinition Constructor

Initializes a new instance of the ChangeUnitVersionDefinition class that contains the specified ID format, change unit ID, and version field ID.

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

public:
ChangeUnitVersionDefinition(
	SyncIdFormatGroup^ idFormats, 
	SyncId^ changeUnitId, 
	IEnumerable<unsigned int>^ versionFieldIds
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
A SyncIdFormatGroup object that is used to define the format of the change unit ID.
changeUnitId
Type: Microsoft.Synchronization::SyncId
A SyncId object that contains the ID of the change unit to which the version definition applies.
versionFieldIds
Type: System.Collections.Generic::IEnumerable<UInt32>
A collection of integers that comprise the version fields of the specified change unit.

ExceptionCondition
SyncIdFormatMismatchException

changeUnitId contained a byte array with an unexpected length.

ArgumentNullException

idFormats, changeUnitId, or versionFieldIds is a nullptr.

ArgumentOutOfRangeException

versionFieldIds contained no more version field IDs.

Show: