ForgottenKnowledge::Deserialize Method

Deserializes a forgotten knowledge instance from the specified byte array.

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

public:
static ForgottenKnowledge^ Deserialize(
	SyncIdFormatGroup^ idFormats, 
	array<unsigned char>^ data
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema for the provider.
data
Type: array<System::Byte>
The serialized forgotten knowledge data.

Return Value

Type: Microsoft.Synchronization::ForgottenKnowledge
A new forgotten knowledge object that is filled with the deserialized data.

ExceptionCondition
ArgumentNullException

idFormats is a nullptr.

For this form of Deserialize(), it is expected that the data will include data for a ReplicaKeyMap instance. If not, SerializationException will be thrown.

Show: