SyncId Class
Represents an identifier for an item, change unit, or replica.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
The SyncId type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SyncId(Byte) | Initializes a new instance of the SyncId class that contains the specified ID. |
![]() | SyncId(Guid) | Initializes a new instance of the SyncId class that contains the specified GUID. |
![]() | SyncId(String) | Initializes a new instance of the SyncId class that contains the specified ID. |
![]() | SyncId(SyncGlobalId) | Initializes a new instance of the SyncId class that contains the specified global ID. |
![]() | SyncId(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. |
![]() | SyncId(SerializationInfo, StreamingContext) | Initializes a new instance of the SyncId class by using serialized data. |
| Name | Description | |
|---|---|---|
![]() | IsVariableLength | Gets a value that indicates whether the ID is variable length. |
![]() | RawId | Gets the raw ID data in a byte array. |
| Name | Description | |
|---|---|---|
![]() | CompareTo | Compares this object with another SyncId object. |
![]() | Equals(Object) | Determines whether the specified SyncId object is equal to this object. (Overrides Object.Equals(Object).) |
![]() | Equals(SyncId) | Determines whether the specified SyncId object is equal to this object. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetByteId | Gets a 1-byte sync ID. |
![]() | GetGuidId | Gets a GUID sync ID. |
![]() | GetHashCode | Computes a hash code suitable for use in hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode.) |
![]() | GetObjectData | Serializes the object data to the specified SerializationInfo object. |
![]() | GetStringId | Gets a string sync ID. |
![]() | GetSyncGlobalId | Gets a SyncGlobalId sync ID. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the sync ID. (Overrides Object.ToString.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Determines whether the two specified SyncId objects are equal. |
![]() ![]() | GreaterThan | Determines whether idX is greater than idY. |
![]() ![]() | Inequality | Determines whether the two specified SyncId objects are not equal. |
![]() ![]() | LessThan | Determines whether idX is less than idY. |
The ID length must be greater than 0 and no greater than UInt16.MaxValue.
Show:
