IProviderUpgradeCallback::OnProviderUpgradeRequired Method

Occurs when the expected provider compatibility version specified to DeserializeReplicaMetadata does not match the provider version that is contained in the serialized metadata.

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

void OnProviderUpgradeRequired(
	unsigned int dwCurrentProviderVersionInFile
)

Parameters

dwCurrentProviderVersionInFile
Type: System::UInt32
The provider version that is contained in the serialized metadata.

If the provider cannot upgrade the metadata from the version specified by dwCurrentProviderVersionInFile, this method must throw an exception, such as MetadataStoreProviderVersionMismatchException.

Show: