SyncId Constructor (SyncGlobalId)

Initializes a new instance of the SyncId class that contains the specified global ID.

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

public:
SyncId(
	SyncGlobalId^ id
)

Parameters

id
Type: Microsoft.Synchronization::SyncGlobalId
The global ID to use as the sync ID.

ExceptionCondition
ArgumentNullException

id is a nullptr.

This form of the constructor creates a fixed-length ID with an array containing the result of calling GetBytes on id.

Show: