Share via


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, 
    usigned long long tickCount
)
public SyncKnowledge (
    SyncIdFormatGroup idFormats, 
    SyncId replicaId, 
    UInt64 tickCount
)
public function SyncKnowledge (
    idFormats : SyncIdFormatGroup, 
    replicaId : SyncId, 
    tickCount : ulong
)

Parameters

  • idFormats
    The ID format schema for the provider.
  • replicaId
    The ID of the replica that owns this knowledge.
  • tickCount
    The current tick count for the replica that owns this knowledge.

Remarks

This form of the constructor creates a new replica key map, stores it in ReplicaKeyMap, and sets replicaId as replica key 0.

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace