IProviderUpgradeCallback::OnCustomReplicaMetadataDeserialized Method

Occurs when the custom metadata field for the replica is read from the serialized metadata.

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

void OnCustomReplicaMetadataDeserialized(
	array<unsigned char>^ customReplicaMetadata
)

Parameters

customReplicaMetadata
Type: array<System::Byte>
The custom metadata field data for the replica.

The provider can examine the custom metadata field for the replica that is contained in customReplicaMetadata and make any necessary changes before it returns from this method. The custom metadata field must not be changed in such a way that other provider versions cannot read or write it.

Show: