Udostępnij za pośrednictwem


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)

Syntax

'Declaration
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    replicaKeyMap As ReplicaKeyMap, _
    tickCount As ULong _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim replicaKeyMap As ReplicaKeyMap
Dim tickCount As ULong

Dim instance As New SyncKnowledge(idFormats, replicaKeyMap, tickCount)
public SyncKnowledge (
    SyncIdFormatGroup idFormats,
    ReplicaKeyMap replicaKeyMap,
    ulong tickCount
)
public:
SyncKnowledge (
    SyncIdFormatGroup^ idFormats, 
    ReplicaKeyMap^ replicaKeyMap, 
    usigned long long tickCount
)
public SyncKnowledge (
    SyncIdFormatGroup idFormats, 
    ReplicaKeyMap replicaKeyMap, 
    UInt64 tickCount
)
public function SyncKnowledge (
    idFormats : SyncIdFormatGroup, 
    replicaKeyMap : ReplicaKeyMap, 
    tickCount : ulong
)

Parameters

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

Remarks

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.

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace