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 | |
---|---|---|
ClockVectorElement | Initializes a new instance of the ClockVectorElement class that contains a specified replica key and tick count. |
Top
Properties
Name | Description | |
---|---|---|
ReplicaKey | Gets or sets the replica key for the replica that is associated with this clock vector element. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a string that represents this object. (Overrides Object.ToString().) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IXmlSerializable.GetSchema | Returns a null reference (Nothing in Visual Basic). | |
IXmlSerializable.ReadXml | Reconstitutes the object from its XML representation. | |
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.