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)
Syntax
'Declaration
Sub OnCustomReplicaMetadataDeserialized ( _
customReplicaMetadata As Byte() _
)
'Usage
Dim instance As IProviderUpgradeCallback
Dim customReplicaMetadata As Byte()
instance.OnCustomReplicaMetadataDeserialized(customReplicaMetadata)
void OnCustomReplicaMetadataDeserialized(
byte[] customReplicaMetadata
)
void OnCustomReplicaMetadataDeserialized(
array<unsigned char>^ customReplicaMetadata
)
abstract OnCustomReplicaMetadataDeserialized :
customReplicaMetadata:byte[] -> unit
function OnCustomReplicaMetadataDeserialized(
customReplicaMetadata : byte[]
)
Parameters
- customReplicaMetadata
Type: System.Byte[]
The custom metadata field data for the replica.
Remarks
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.