InvalidKnowledgeMarkerException Class

The exception that is thrown when a specified knowledge marker is not the kind of marker contained in a knowledge object.

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

Syntax

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

Remarks

A knowledge object can contain only one kind of knowledge marker. The kind of marker is determined by the first marker that is added to the knowledge object. To change the kind of marker, remove all markers from the knowledge object, and then add a marker of the desired kind.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.InvalidKnowledgeMarkerException

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

InvalidKnowledgeMarkerException Members
Microsoft.Synchronization Namespace