ItemEnumerationContext Class

Represents the synchronization session context that is passed to a provider.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SimpleProviders.ItemEnumerationContext
    Microsoft.Synchronization.SimpleProviders.AnchorEnumerationContext
    Microsoft.Synchronization.SimpleProviders.FullEnumerationContext

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

Syntax

'Declaration
Public Class ItemEnumerationContext
'Usage
Dim instance As ItemEnumerationContext
public class ItemEnumerationContext
public ref class ItemEnumerationContext
type ItemEnumerationContext =  class end
public class ItemEnumerationContext

The ItemEnumerationContext type exposes the following members.

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 SetDeleteMode Sets whether a delete is a normal delete that is propagated to other replicas, or a local-only delete.
Public method ToString (Inherited from Object.)

Top

Remarks

The context can be used by the provider in circumstances when the provider is not going to return an enumeration of items or where the provider needs to modify the enumeration behavior of the Sync Framework runtime. Developers typically use one of the classes that inherits from ItemEnumerationContext (FullEnumerationContext or AnchorEnumerationContext), depending on the type of store that is being synchronized.

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.SimpleProviders Namespace