SyncKnowledge::Deserialize Method (SyncIdFormatGroup, array<Byte>)
Creates a new instance of the SyncKnowledge class by using serialized data.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: static SyncKnowledge^ Deserialize( SyncIdFormatGroup^ idFormats, array<unsigned char>^ data )
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.
Return Value
Type: Microsoft.Synchronization::SyncKnowledgeThe new knowledge object instance that is initialized by using the serialized data.
| Exception | Condition |
|---|---|
| SerializationException | data does not contain a replica key map. |
| ArgumentNullException | idFormats or data is a nullptr. |
Show: