ItemChange Constructor (SyncIdFormatGroup, SyncId, SyncId, ChangeKind, SyncVersion, SyncVersion)
Initializes a new instance of the ItemChange class that contains the specified ID format schema, replica ID, item ID, change kind, creation version, and change version.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
replicaId As SyncId, _
itemId As SyncId, _
changeKind As ChangeKind, _
creationVersion As SyncVersion, _
changeVersion As SyncVersion _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim replicaId As SyncId
Dim itemId As SyncId
Dim changeKind As ChangeKind
Dim creationVersion As SyncVersion
Dim changeVersion As SyncVersion
Dim instance As New ItemChange(idFormats, _
replicaId, itemId, changeKind, creationVersion, _
changeVersion)
public ItemChange(
SyncIdFormatGroup idFormats,
SyncId replicaId,
SyncId itemId,
ChangeKind changeKind,
SyncVersion creationVersion,
SyncVersion changeVersion
)
public:
ItemChange(
SyncIdFormatGroup^ idFormats,
SyncId^ replicaId,
SyncId^ itemId,
ChangeKind changeKind,
SyncVersion^ creationVersion,
SyncVersion^ changeVersion
)
new :
idFormats:SyncIdFormatGroup *
replicaId:SyncId *
itemId:SyncId *
changeKind:ChangeKind *
creationVersion:SyncVersion *
changeVersion:SyncVersion -> ItemChange
public function ItemChange(
idFormats : SyncIdFormatGroup,
replicaId : SyncId,
itemId : SyncId,
changeKind : ChangeKind,
creationVersion : SyncVersion,
changeVersion : SyncVersion
)
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema of the provider.
- replicaId
Type: Microsoft.Synchronization.SyncId
The ID of the replica that originated this change.
- itemId
Type: Microsoft.Synchronization.SyncId
The ID of the item that was changed.
- changeKind
Type: Microsoft.Synchronization.ChangeKind
The type of change that was made to the item.
- creationVersion
Type: Microsoft.Synchronization.SyncVersion
The creation version of the item.
- changeVersion
Type: Microsoft.Synchronization.SyncVersion
The change version of the item.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats or changeVersion is a null reference (Nothing in Visual Basic). |