ClockVectorElement Class

Represents a clock vector element of a knowledge structure. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.ClockVectorElement

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

Syntax

'Declaration
Public NotInheritable Class ClockVectorElement _
    Implements IClockVectorElement, IXmlSerializable
'Usage
Dim instance As ClockVectorElement
public sealed class ClockVectorElement : IClockVectorElement, 
    IXmlSerializable
public ref class ClockVectorElement sealed : IClockVectorElement, 
    IXmlSerializable
[<SealedAttribute>]
type ClockVectorElement =  
    class
        interface IClockVectorElement
        interface IXmlSerializable
    end
public final class ClockVectorElement implements IClockVectorElement, IXmlSerializable

The ClockVectorElement type exposes the following members.

Constructors

  Name Description
Public method ClockVectorElement Initializes a new instance of the ClockVectorElement class that contains a specified replica key and tick count.

Top

Properties

  Name Description
Public property ReplicaKey Gets or sets the replica key for the replica that is associated with this clock vector element.
Public property TickCount Gets or sets the tick count that defines the upper bound on the range of tick counts that are contained in this clock vector element.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that represents this object. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlSerializable.GetSchema Returns a null reference (Nothing in Visual Basic).
Explicit interface implemetationPrivate method IXmlSerializable.ReadXml Reconstitutes the object from its XML representation.
Explicit interface implemetationPrivate method IXmlSerializable.WriteXml Converts this object into its XML representation.

Top

Remarks

The clock vector elements of a clock vector represent the changes that are contained in a knowledge structure. A change made by a particular replica is defined to be contained in the knowledge if the tick count for the change occurs between 0 and the tick count contained in the ClockVectorElement that tracks that replica.

The members of IXmlSerializable are implemented explicitly. Code that accesses them must first cast the ClockVectorElement object to the IXmlSerializable interface by using the casting operator or the as keyword.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization Namespace