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.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: SyncKnowledge( SyncIdFormatGroup^ idFormats, SyncId^ replicaId, unsigned long long tickCount )
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats is a nullptr. |
This form of the constructor creates a new replica key map, stores it in ReplicaKeyMap, and sets replicaId as replica key 0.
Show: