SyncId Constructor (array<Byte>, Boolean)

Initializes a new instance of the SyncId class that contains the specified raw ID and a value that indicates whether the ID is fixed length or variable length.

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

public:
SyncId(
	array<unsigned char>^ rawId, 
	bool isVariableLength
)

Parameters

rawId
Type: array<System::Byte>
The raw ID data.
isVariableLength
Type: System::Boolean
true if this is a variable length ID; otherwise, false.

ExceptionCondition
ArgumentOutOfRangeException

rawId has an invalid length or is too short or too long for the value of isVariableLength.

ArgumentNullException

rawId is a nullptr.

This form of the constructor stores the ID data exactly as specified.

Show: