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 | |
---|---|---|
SyncVersion(SerializationInfo, StreamingContext) | Initializes a new instance of the SyncVersion class by using serialized data. | |
SyncVersion(UInt32, UInt64) | Initializes a new instance of the SyncVersion class that contains the specified replica key and tick count. |
Top
Properties
Name | Description | |
---|---|---|
ReplicaKey | Gets the replica key that is associated with the version. | |
TickCount | Gets the tick count that is associated with the version. | |
UnknownVersion | Returns a SyncVersion object that contains the replica key and tick count set to 0. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Serializes the version object data to a SerializationInfo object. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.