SyncId Constructor (Guid)

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

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

public:
SyncId(
	Guid id
)

Parameters

id
Type: System::Guid
The GUID to use as the sync ID.

ExceptionCondition
ArgumentOutOfRangeException

id is empty.

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

Show: