Sdílet prostřednictvím


InvalidKnowledgeVersionException Class

The exception that is thrown when a component is passed a knowledge version that it does not support.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class InvalidKnowledgeVersionException
    Inherits SyncException
'Usage
Dim instance As InvalidKnowledgeVersionException
[SerializableAttribute] 
public class InvalidKnowledgeVersionException : SyncException
[SerializableAttribute] 
public ref class InvalidKnowledgeVersionException : public SyncException
/** @attribute SerializableAttribute() */ 
public class InvalidKnowledgeVersionException extends SyncException
SerializableAttribute 
public class InvalidKnowledgeVersionException extends SyncException

Remarks

This exception is thrown when knowledge data is deserialized by a version of Sync Framework that was released before the version of Sync Framework that was used to serialize the knowledge data.

This exception is also thrown when the serialized knowledge data is not valid or has been corrupted.

This exception is also thrown when a SyncKnowledge object is serialized by using a requested version, and either the requested version is higher than the version of the object, or the object contains elements that are not compatible with the requested version.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.InvalidKnowledgeVersionException

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

InvalidKnowledgeVersionException Members
Microsoft.Synchronization Namespace