MetadataStoreProviderVersionMismatchException Class
The exception that is thrown when DeserializeReplicaMetadata is called and the specified expected provider compatibility version does not match the provider version stored in the serialized metadata.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class MetadataStoreProviderVersionMismatchException
Inherits MetadataStoreException
'Usage
Dim instance As MetadataStoreProviderVersionMismatchException
[SerializableAttribute]
public class MetadataStoreProviderVersionMismatchException : MetadataStoreException
[SerializableAttribute]
public ref class MetadataStoreProviderVersionMismatchException : public MetadataStoreException
/** @attribute SerializableAttribute() */
public class MetadataStoreProviderVersionMismatchException extends MetadataStoreException
SerializableAttribute
public class MetadataStoreProviderVersionMismatchException extends MetadataStoreException
Remarks
This exception is not thrown when an IProviderUpgradeCallback object is provided to DeserializeReplicaMetadata. In this case, IProviderUpgradeCallback methods are called and the metadata store is upgraded to the new schema specified by the provider.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Synchronization.SyncException
Microsoft.Synchronization.MetadataStorage.MetadataStoreException
Microsoft.Synchronization.MetadataStorage.MetadataStoreProviderVersionMismatchException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
MetadataStoreProviderVersionMismatchException Members
Microsoft.Synchronization.MetadataStorage Namespace