Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Sub OnProviderUpgradeRequired ( _
dwCurrentProviderVersionInFile As UInteger _
)
'Usage
Dim instance As IProviderUpgradeCallback
Dim dwCurrentProviderVersionInFile As UInteger
instance.OnProviderUpgradeRequired(dwCurrentProviderVersionInFile)
void OnProviderUpgradeRequired (
uint dwCurrentProviderVersionInFile
)
void OnProviderUpgradeRequired (
unsigned int dwCurrentProviderVersionInFile
)
void OnProviderUpgradeRequired (
UInt32 dwCurrentProviderVersionInFile
)
function OnProviderUpgradeRequired (
dwCurrentProviderVersionInFile : uint
)
Parameters
- dwCurrentProviderVersionInFile
The provider version that is contained in the serialized metadata.
Remarks
If the provider cannot upgrade the metadata from the version specified by dwCurrentProviderVersionInFile, this method must throw an exception, such as MetadataStoreProviderVersionMismatchException.
See Also
Reference
IProviderUpgradeCallback Interface
IProviderUpgradeCallback Members
Microsoft.Synchronization.MetadataStorage Namespace