RangeOutOfOrderException Class

The exception that is thrown when a range of items is not in the expected order, or when a range override is specified incorrectly.

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

Syntax

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

Remarks

Items in ranges must be arranged in increasing order by item ID.

Range overrides cannot overlap. KnowledgeBuilder.BuildSyncKnowledge throws this exception when the upper bound of a range override is greater than the lower bound of the next range override.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.RangeOutOfOrderException

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

RangeOutOfOrderException Members
Microsoft.Synchronization Namespace