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)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
changeUnitId As SyncId, _
versionFieldIds As IEnumerable(Of UInteger) _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim changeUnitId As SyncId
Dim versionFieldIds As IEnumerable(Of UInteger)
Dim instance As New ChangeUnitVersionDefinition(idFormats, changeUnitId, versionFieldIds)
public ChangeUnitVersionDefinition (
SyncIdFormatGroup idFormats,
SyncId changeUnitId,
IEnumerable<uint> versionFieldIds
)
public:
ChangeUnitVersionDefinition (
SyncIdFormatGroup^ idFormats,
SyncId^ changeUnitId,
IEnumerable<unsigned int>^ versionFieldIds
)
public ChangeUnitVersionDefinition (
SyncIdFormatGroup idFormats,
SyncId changeUnitId,
IEnumerable<UInt32> versionFieldIds
)
public function ChangeUnitVersionDefinition (
idFormats : SyncIdFormatGroup,
changeUnitId : SyncId,
versionFieldIds : IEnumerable<uint>
)
Parameters
- idFormats
A SyncIdFormatGroup object that is used to define the format of the change unit ID.
- changeUnitId
A SyncId object that contains the ID of the change unit to which the version definition applies.
- versionFieldIds
A collection of integers that comprise the version fields of the specified change unit.
Exceptions
Exception type | Condition |
---|---|
changeUnitId contained a byte array with an unexpected length. |
See Also
Reference
ChangeUnitVersionDefinition Class
ChangeUnitVersionDefinition Members
Microsoft.Synchronization.SimpleProviders Namespace