ForgottenKnowledge::Deserialize Method
Deserializes a forgotten knowledge instance from the specified byte array.
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::ForgottenKnowledgeA new forgotten knowledge object that is filled with the deserialized data.
| Exception | Condition |
|---|---|
| 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: