SyncId Class

Represents an identifier for an item, change unit, or replica.

System.Object
  Microsoft.Synchronization.SyncId

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

'Declaration
<SerializableAttribute> _
Public Class SyncId _
	Implements IComparable, IEquatable(Of SyncId),  _
	ISerializable
'Usage
Dim instance As SyncId

The SyncId type exposes the following members.

  NameDescription
Public methodSyncId(Byte)Initializes a new instance of the SyncId class that contains the specified ID.
Public methodSyncId(Guid)Initializes a new instance of the SyncId class that contains the specified GUID.
Public methodSyncId(String)Initializes a new instance of the SyncId class that contains the specified ID.
Public methodSyncId(SyncGlobalId)Initializes a new instance of the SyncId class that contains the specified global ID.
Public methodSyncId(Byte(), Boolean)Initializes a new instance of the SyncId class that contains the specified raw ID and a value that indicates whether the ID is fixed length or variable length.
Protected methodSyncId(SerializationInfo, StreamingContext)Initializes a new instance of the SyncId class by using serialized data.
Top

  NameDescription
Public propertyIsVariableLengthGets a value that indicates whether the ID is variable length.
Public propertyRawIdGets the raw ID data in a byte array.
Top

  NameDescription
Public methodCompareToCompares this object with another SyncId object.
Public methodEquals(Object)Determines whether the specified SyncId object is equal to this object. (Overrides Object.Equals(Object).)
Public methodEquals(SyncId)Determines whether the specified SyncId object is equal to this object.
Protected methodFinalize (Inherited from Object.)
Public methodGetByteIdGets a 1-byte sync ID.
Public methodGetGuidIdGets a GUID sync ID.
Public methodGetHashCodeComputes a hash code suitable for use in hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode.)
Public methodGetObjectDataSerializes the object data to the specified SerializationInfo object.
Public methodGetStringIdGets a string sync ID.
Public methodGetSyncGlobalIdGets a SyncGlobalId sync ID.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the sync ID. (Overrides Object.ToString.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the two specified SyncId objects are equal.
Public operatorStatic memberGreaterThanDetermines whether idX is greater than idY.
Public operatorStatic memberInequalityDetermines whether the two specified SyncId objects are not equal.
Public operatorStatic memberLessThanDetermines whether idX is less than idY.
Top

The ID length must be greater than 0 and no greater than UInt16.MaxValue.

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: