SyncId Constructor (String)

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

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

public:
SyncId(
	String^ id
)

Parameters

id
Type: System::String
The string to use as the sync ID.

ExceptionCondition
ArgumentOutOfRangeException

id is an empty string or is a nullptr.

This form of the constructor creates a variable-length ID with an array containing id encoded in big-endian order with no Unicode byte order mark.

Show: