SyncKnowledge::Serialize Method

Serializes the knowledge object data to a byte array.

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

public:
array<unsigned char>^ Serialize()

Return Value

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

ExceptionCondition
InvalidOperationException

This SyncKnowledge object is not initialized.

This method includes the replica key map in the data that is serialized.

Show: