SyncKnowledge::Serialize Method (Boolean)

Serializes the knowledge object data to a byte array.

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

public:
array<unsigned char>^ Serialize(
	bool includeReplicaKeyMap
)

Parameters

includeReplicaKeyMap
Type: System::Boolean
true to include the replica key map in the serialized data. Otherwise, false.

Return Value

Type: array<System::Byte>
The byte array that contains the data for the serialized knowledge object.

ExceptionCondition
InvalidOperationException

This SyncKnowledge object is not initialized.

Show: