SyncKnowledge Constructor (SyncIdFormatGroup, ReplicaKeyMap, UInt64)

Initializes a new instance of the SyncKnowledge class that contains the specified ID format schema, replica key map, and tick count.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
SyncKnowledge(
	SyncIdFormatGroup^ idFormats, 
	ReplicaKeyMap^ replicaKeyMap, 
	unsigned long long tickCount
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema for the provider.
replicaKeyMap
Type: Microsoft.Synchronization::ReplicaKeyMap
The replica key map that is associated with this knowledge.
tickCount
Type: System::UInt64
The current tick count of the replica that owns this knowledge.

ExceptionCondition
ArgumentNullException

idFormats or replicaKeyMap is a nullptr.

This form of the constructor sets ReplicaId to the ID of the replica that is represented by replica key 0 in the replica key map.

Show: