Share via


SyncGlobalId Constructor (UInt64, Guid)

Initializes a new instance of the SyncGlobalId class that contains the specified prefix and GUID.

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

Syntax

'Declaration
Public Sub New ( _
    prefix As ULong, _
    uniqueId As Guid _
)
'Usage
Dim prefix As ULong
Dim uniqueId As Guid

Dim instance As New SyncGlobalId(prefix, _
    uniqueId)
public SyncGlobalId(
    ulong prefix,
    Guid uniqueId
)
public:
SyncGlobalId(
    unsigned long long prefix, 
    Guid uniqueId
)
new : 
        prefix:uint64 * 
        uniqueId:Guid -> SyncGlobalId
public function SyncGlobalId(
    prefix : ulong, 
    uniqueId : Guid
)

Parameters

  • prefix
    Type: System.UInt64
    A prefix, typically used for ordering items.

Exceptions

Exception Condition
ArgumentOutOfRangeException

uniqueId is empty.

See Also

Reference

SyncGlobalId Class

SyncGlobalId Overload

Microsoft.Synchronization Namespace