Share via


SyncGlobalId Constructor (array<Byte )

Initializes a new instance of the SyncGlobalId class by using serialized data.

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

Syntax

'Declaration
Public Sub New ( _
    data As Byte() _
)
'Usage
Dim data As Byte()

Dim instance As New SyncGlobalId(data)
public SyncGlobalId(
    byte[] data
)
public:
SyncGlobalId(
    array<unsigned char>^ data
)
new : 
        data:byte[] -> SyncGlobalId
public function SyncGlobalId(
    data : byte[]
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

data is not 24 bytes long.

ArgumentNullException

data is a null reference (Nothing in Visual Basic).

Remarks

Typically, the serialized data that is contained in data will be obtained from a call to GetBytes.

See Also

Reference

SyncGlobalId Class

SyncGlobalId Overload

Microsoft.Synchronization Namespace