AnchorEnumerationSimpleSyncProvider Class
Represents a provider for replicas that track changes by using anchors.
Microsoft.Synchronization.SyncProvider
Microsoft.Synchronization.SimpleProviders.SimpleSyncProvider
Microsoft.Synchronization.SimpleProviders.AnchorEnumerationSimpleSyncProvider
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
The AnchorEnumerationSimpleSyncProvider type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnchorEnumerationSimpleSyncProvider | Initializes a new instance of the AnchorEnumerationSimpleSyncProvider class. |
| Name | Description | |
|---|---|---|
![]() | Configuration | When overridden in a derived class, gets a KnowledgeSyncProviderConfiguration object that represents configuration information for a provider, such as the conflict resolution policy. (Inherited from SimpleSyncProvider.) |
![]() | DestinationCallbacks | When overridden in a derived class, gets a SyncCallbacks object that is used to dispatch a synchronization event. (Inherited from SimpleSyncProvider.) |
![]() | IdFormats | When overridden in a derived class, gets a SyncIdFormatGroup object that represents the format of replica and item IDs. (Inherited from SimpleSyncProvider.) |
![]() | MetadataSchema | When overridden in a derived class, gets an ItemMetadataSchema object that represents the metadata schema for an item. (Inherited from SimpleSyncProvider.) |
![]() | ProviderVersion | When overridden in a derived class, gets the version number for the simple provider. (Inherited from SimpleSyncProvider.) |
| Name | Description | |
|---|---|---|
![]() | BeginSession | When overridden in a derived class, called by the Sync Framework runtime at the start of each session. (Inherited from SimpleSyncProvider.) |
![]() | DeleteItem | When overridden in a derived class, called by the Sync Framework runtime to delete an item from the destination store. (Inherited from SimpleSyncProvider.) |
![]() | EndSession | When overridden in a derived class, called by the Sync Framework runtime at the end of each session unless a session is terminated because of an exception. (Inherited from SimpleSyncProvider.) |
![]() | EnumerateChanges | When overridden in a derived class, enumerates changes from a replica that occurred since the specified anchor value. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerationAnchor | When overridden in a derived class, returns an enumeration anchor that is used to determine the set of changes to synchronize during a session. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetMetadataStore | When overridden in a derived class, called by the Sync Framework runtime to return a MetadataStore object for a replica. (Inherited from SimpleSyncProvider.) |
![]() | GetType | (Inherited from Object.) |
![]() | InsertItem | When overridden in a derived class, called by the Sync Framework runtime to insert an item into the destination store. (Inherited from SimpleSyncProvider.) |
![]() | LoadChangeData | When overridden in a derived class, called by the Sync Framework runtime to load the change data for the item with the specified key. (Inherited from SimpleSyncProvider.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnChangeDetectionCompleted | When overridden in a derived class, raises the ChangeDetectionCompleted event. (Inherited from SimpleSyncProvider.) |
![]() | OnItemConflicting | When overridden in a derived class, raises the ItemConflicting event. (Inherited from SimpleSyncProvider.) |
![]() | OnItemConstraint | When overridden in a derived class, raises the ItemConstraint event. (Inherited from SimpleSyncProvider.) |
![]() | OnMetadataStoreInitialized | When overridden in a derived class, raises the MetadataStoreInitialized event. (Inherited from SimpleSyncProvider.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateItem | When overridden in a derived class, called by the Sync Framework runtime to update an item in the destination store. (Inherited from SimpleSyncProvider.) |
| Name | Description | |
|---|---|---|
![]() | ChangeDetectionCompleted | Occurs when change detection is complete for a source provider. (Inherited from SimpleSyncProvider.) |
![]() | ItemConflicting | Occurs when Sync Framework detects that an item being processed is involved in a concurrency conflict. (Inherited from SimpleSyncProvider.) |
![]() | ItemConstraint | Occurs when Sync Framework detects that an item being processed is involved in a constraint conflict. (Inherited from SimpleSyncProvider.) |
![]() | MetadataStoreInitialized | Occurs when the metadata store that is associated with a provider is initialized. (Inherited from SimpleSyncProvider.) |
The simple provider API is designed primarily for two types of replicas:
Replicas that do not support any kind of change tracking. This type of replica uses a full enumeration provider (FullEnumerationSimpleSyncProvider), which enumerates all items from the source replica every time synchronization occurs.
Replicas that support anchor-based change tracking. This type of replica uses an anchor-based provider (AnchorEnumerationSimpleSyncProvider), which enumerates the items from the source replica that changed after a specific anchor was set, which is typically a point in time.
For more information about simple providers, see How to: Create a Managed Simple Provider. For more information about custom providers in general, see Custom Provider Fundamentals, especially the section "Deciding Between a Simple Provider and a Standard Provider".
