Composants principaux de Sync Framework

Les composants principaux de Microsoft Sync Framework peuvent être utilisés à partir d'un langage non managé, tel que C++, pour effectuer la synchronisation. Ces composants peuvent être utilisés pour gérer les métadonnées et créer des fournisseurs de synchronisation et des applications. D'un point de vue conceptuel, les composants principaux peuvent être regroupés selon les catégories suivantes : composants des services des métadonnées, composants de fournisseur, composants d'application et codes d'erreur.

Composants des services des métadonnées

Les composants suivants aident un fournisseur à traiter des métadonnées de synchronisation :

Structure ID_PARAMETER_PAIR

Interface IEnumSingleItemExceptions

Structure ID_PARAMETERS

Interface IEnumSyncChanges

Structure SYNC_GID

IEnumSyncChangeUnits Interface

Structure SYNC_ID

Interface IForgottenKnowledge

Structure SYNC_RANGE

Interface IKnowledgeBuilder

Structure SYNC_VERSION

Interface IRangeException

Énumération SYNC_RESOLVE_ACTION

Interface IRecoverableError

Indicateurs SYNC_CHANGE_FLAG

Interface IRecoverableErrorData

Interface IChangeConflict

Interface IReplicaKeyMap

Interface IChangeUnitException

Interface ISingleItemException

Interface IClockVector

Interface ISyncChange

Interface IClockVectorElement

Interface ISyncChangeBatch

Interface IClockVectorServices

Interface ISyncChangeBatchBase

Interface IDestinationChangeVersionsBuilder

Interface ISyncChangeBuilder

Interface IEnumChangeUnitExceptions

Interface ISyncChangeUnit

Interface IEnumClockVector

Interface ISyncFullEnumerationChangeBatch

Interface IEnumRangeExceptions

Interface ISyncKnowledge

Composants de fournisseur

Les composants suivants permettent à un fournisseur d'interagir avec Sync Framework pour effectuer la synchronisation de la part d'un réplica :

Énumération SYNC_PROVIDER_ROLE

Interface IProviderFilteredSyncServices

Énumération SYNC_SAVE_ACTION

Interface IProviderSyncServices

Indicateurs SYNC_FILTER_INFO_FLAG

Interface ISaveChangeContext

Interface IAsynchronousDataRetriever

Interface ISaveChangeWithChangeUnitsContext

Interface IAsynchronousNotifyingChangeApplier

Interface ISyncFilterInfo

Interface IAsynchronousNotifyingChangeApplierTarget

Interface ISynchronousDataRetriever

Interface IAsynchronousNotifyingChangeApplierTargetCallback

Interface ISynchronousNotifyingChangeApplier

Interface IDataRetrieverCallback

Interface ISynchronousNotifyingChangeApplierTarget

Interface IKnowledgeSyncProvider

Interface ISyncProvider

Interface ILoadChangeContext

Composants d'application

Les composants suivants permettent à une application de démarrer une session de synchronisation et de connecter des fournisseurs pour effectuer la synchronisation :

Structure SYNC_SESSION_STATISTICS

Interface IApplicationSyncServices

Énumération CONFLICT_RESOLUTION_POLICY

Interface ISyncCallback

Énumération SYNC_FULL_ENUMERATION_ACTION

Interface ISyncSession

Énumération SYNC_PROGRESS_STAGE

Interface ISyncSessionState

Codes d'erreur

Sync Framework utilise un ensemble d'erreurs personnalisées pour signaler les problèmes. Pour plus d'informations, consultez Codes d'erreur Sync Framework.

Voir aussi

Référence

Microsoft.Synchronization

Concepts

Référence non managée de Sync Framework
Vue d'ensemble Sync Framework
Principes de base de la synchronisation de données
Gestion des métadonnées
Fournisseurs de synchronisation
Applications de synchronisation

Autres ressources

Microsoft Sync Framework