Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[SerializableAttribute]
public class SyncId : IComparable, IEquatable<SyncId>,
ISerializable
[SerializableAttribute]
public ref class SyncId : IComparable, IEquatable<SyncId^>,
ISerializable
[<SerializableAttribute>]
type SyncId =
class
interface IComparable
interface IEquatable<SyncId>
interface ISerializable
end
public class SyncId implements IComparable, IEquatable<SyncId>, ISerializable
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. |
Top
Name | Description | |
---|---|---|
![]() |
IsVariableLength | Gets a value that indicates whether the ID is variable length. |
![]() |
RawId | Gets the raw ID data in a byte array. |
Top
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().) |
Top
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. |
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.
Please sign in to use this experience.
Sign in