SyncKnowledge.FindMinTickCountForReplica Method
Finds the minimum tick count in the knowledge for the specified replica.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function FindMinTickCountForReplica ( _
replicaId As SyncId _
) As ULong
'Usage
Dim instance As SyncKnowledge
Dim replicaId As SyncId
Dim returnValue As ULong
returnValue = instance.FindMinTickCountForReplica(replicaId)
public ulong FindMinTickCountForReplica(
SyncId replicaId
)
public:
unsigned long long FindMinTickCountForReplica(
SyncId^ replicaId
)
member FindMinTickCountForReplica :
replicaId:SyncId -> uint64
public function FindMinTickCountForReplica(
replicaId : SyncId
) : ulong
Parameters
- replicaId
Type: Microsoft.Synchronization.SyncId
The ID of the replica to look up.
Return Value
Type: System.UInt64
The minimum tick count in the knowledge for the specified replica.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
ArgumentNullException | replicaId is a null reference (Nothing in Visual Basic). |
SyncIdFormatMismatchException | replicaId is not in the ID format specified for this knowledge object or has a different variable length setting. |
Remarks
Using this method can be expensive because it searches every clock vector that is associated with replicaId.