Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
)
new :
idFormats:SyncIdFormatGroup *
changeUnitId:SyncId *
versionFieldIds:IEnumerable<uint32> -> ChangeUnitVersionDefinition
public function ChangeUnitVersionDefinition(
idFormats : SyncIdFormatGroup,
changeUnitId : SyncId,
versionFieldIds : IEnumerable<uint>
)
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.
Exceptions
| Exception | Condition |
|---|---|
| SyncIdFormatMismatchException | changeUnitId contained a byte array with an unexpected length. |
| ArgumentNullException | idFormats, changeUnitId, or versionFieldIds is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | versionFieldIds contained no more version field IDs. |