SyncGlobalId-Konstruktor (UInt64, Guid)

Initialisiert eine neue Instanz der SyncGlobalId-Klasse, die das angegebene Präfix und die angegebene GUID enthält.

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
)

Parameter

  • prefix
    Typ: System. . :: . .UInt64
    Ein Präfix, das in der Regel zum Sortieren von Elementen verwendet wird.

Ausnahmen

Ausnahme Bedingung
ArgumentOutOfRangeException

uniqueId ist leer.

Siehe auch

Verweis

SyncGlobalId Klasse

SyncGlobalId-Member

SyncGlobalId-Überladung

Microsoft.Synchronization-Namespace