AnchorEnumerationSimpleSyncProvider Class
Represents a provider for replicas that track changes by using anchors.
Inheritance Hierarchy
System.Object
Microsoft.Synchronization.SyncProvider
Microsoft.Synchronization.SimpleProviders.SimpleSyncProvider
Microsoft.Synchronization.SimpleProviders.AnchorEnumerationSimpleSyncProvider
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
Syntax
'Declaration
Public MustInherit Class AnchorEnumerationSimpleSyncProvider _
Inherits SimpleSyncProvider
'Usage
Dim instance As AnchorEnumerationSimpleSyncProvider
public abstract class AnchorEnumerationSimpleSyncProvider : SimpleSyncProvider
public ref class AnchorEnumerationSimpleSyncProvider abstract : public SimpleSyncProvider
[<AbstractClassAttribute>]
type AnchorEnumerationSimpleSyncProvider =
class
inherit SimpleSyncProvider
end
public abstract class AnchorEnumerationSimpleSyncProvider extends SimpleSyncProvider
The AnchorEnumerationSimpleSyncProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnchorEnumerationSimpleSyncProvider | Initializes a new instance of the AnchorEnumerationSimpleSyncProvider class. |
Top
Properties
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.) |
Top
Methods
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.) |
Top
Events
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.) |
Top
Remarks
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".
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.