ClockVectorElement Class

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

System.Object
  Microsoft.Synchronization.ClockVectorElement

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

public sealed class ClockVectorElement : IClockVectorElement, 
	IXmlSerializable

The ClockVectorElement type exposes the following members.

  NameDescription
Public methodClockVectorElementInitializes a new instance of the ClockVectorElement class that contains a specified replica key and tick count.
Top

  NameDescription
Public propertyReplicaKeyGets or sets the replica key for the replica that is associated with this clock vector element.
Public propertyTickCountGets 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

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents this object. (Overrides Object.ToString().)
Top

  NameDescription
Explicit interface implemetationPrivate methodIXmlSerializable.GetSchemaReturns a null.
Explicit interface implemetationPrivate methodIXmlSerializable.ReadXmlReconstitutes the object from its XML representation.
Explicit interface implemetationPrivate methodIXmlSerializable.WriteXmlConverts this object into its XML representation.
Top

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.

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