ReplicaKeyMap::Deserialize Method
Creates a new ReplicaKeyMap object and initializes it by using serialized data.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: static ReplicaKeyMap^ 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 object data that is used to initialize the new map object.
Return Value
Type: Microsoft.Synchronization::ReplicaKeyMapThe newly created ReplicaKeyMap object that is initialized by using the serialized data.
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats or data is a nullptr. |
| SyncIdFormatMismatchException | Some formats in idFormats differ from that of this ReplicaKeyMap object. |
Show: