Override Class

When overridden by a derived class, represents a synchronization entity and an associated clock vector that differs from the scope clock vector of the parent knowledge object.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Override
    Microsoft.Synchronization.ItemChangeUnitOverride
    Microsoft.Synchronization.ItemOverride
    Microsoft.Synchronization.ItemRangeOverride

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

Syntax

'Declaration
Public MustInherit Class Override
'Usage
Dim instance As Override
public abstract class Override
public ref class Override abstract
[<AbstractClassAttribute>]
type Override =  class end
public abstract class Override

The Override type exposes the following members.

Constructors

  Name Description
Protected method Override Initializes a new instance of the Override class that contains the specified clock vector.

Top

Properties

  Name Description
Public property ClockVector Gets or sets the clock vector that is associated with this override.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

An override represents a synchronization entity and an associated clock vector that differs from the scope clock vector of the parent knowledge object. For example, an item cannot be applied to a destination replica. The destination provider excludes the item from the learned knowledge by using SyncKnowledge.ExcludeItem. The item is stored in the knowledge object as an ItemOverride object, along with its original clock vector. This now differs from the scope clock vector of the knowledge object. This object can be retrieved from the knowledge object by using KnowledgeInspector.ItemOverrides.

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

Microsoft.Synchronization Namespace