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.
- uniqueId
Type: System.Guid
A unique GUID.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | uniqueId is empty. |