SyncVersion Class

Represents a version for an item or a change unit.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SyncVersion

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class SyncVersion _
    Implements ISerializable
'Usage
Dim instance As SyncVersion
[SerializableAttribute]
public class SyncVersion : ISerializable
[SerializableAttribute]
public ref class SyncVersion : ISerializable
[<SerializableAttribute>]
type SyncVersion =  
    class
        interface ISerializable
    end
public class SyncVersion implements ISerializable

The SyncVersion type exposes the following members.

Constructors

  Name Description
Protected method SyncVersion(SerializationInfo, StreamingContext) Initializes a new instance of the SyncVersion class by using serialized data.
Public method SyncVersion(UInt32, UInt64) Initializes a new instance of the SyncVersion class that contains the specified replica key and tick count.

Top

Properties

  Name Description
Public property ReplicaKey Gets the replica key that is associated with the version.
Public property TickCount Gets the tick count that is associated with the version.
Public propertyStatic member UnknownVersion Returns a SyncVersion object that contains the replica key and tick count set to 0.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Serializes the version object data to a SerializationInfo object.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that represents the version. (Overrides Object.ToString().)

Top

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