SyncKnowledge::Deserialize Method (SyncIdFormatGroup, array<Byte>, ReplicaKeyMap)

Creates a new instance of the SyncKnowledge class by using serialized data and the specified replica key map.

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

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

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
data
Type: array<System::Byte>
The serialized data used to initialize the new knowledge object.
replicaKeyMap
Type: Microsoft.Synchronization::ReplicaKeyMap
The replica key map associated with the knowledge.

Return Value

Type: Microsoft.Synchronization::SyncKnowledge
The new knowledge object instance that is initialized by using the serialized data and the specified replica key map.

ExceptionCondition
SerializationException

data contains a replica key map.

ArgumentNullException

idFormats, data, or replicaKeyMap is a nullptr.

Show: