SyncKnowledge Constructor (SyncIdFormatGroup, SyncId, UInt64)
Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica ID, and tick count.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
replicaId As SyncId, _
tickCount As ULong _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim replicaId As SyncId
Dim tickCount As ULong
Dim instance As New SyncKnowledge(idFormats, _
replicaId, tickCount)
public SyncKnowledge(
SyncIdFormatGroup idFormats,
SyncId replicaId,
ulong tickCount
)
public:
SyncKnowledge(
SyncIdFormatGroup^ idFormats,
SyncId^ replicaId,
unsigned long long tickCount
)
new :
idFormats:SyncIdFormatGroup *
replicaId:SyncId *
tickCount:uint64 -> SyncKnowledge
public function SyncKnowledge(
idFormats : SyncIdFormatGroup,
replicaId : SyncId,
tickCount : ulong
)
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema for the provider.
- replicaId
Type: Microsoft.Synchronization.SyncId
The ID of the replica that owns this knowledge.
- tickCount
Type: System.UInt64
The current tick count for the replica that owns this knowledge.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats is a null reference (Nothing in Visual Basic). |
Remarks
This form of the constructor creates a new replica key map, stores it in ReplicaKeyMap, and sets replicaId as replica key 0.