The centerpiece of the service is FileSyncProvider. Because it implements KnowledgeSyncProvider, the file sync provider only has to be created, initialized, and passed to a SyncAgent to perform synchronization.
A static filter is represented by FileSyncScopeFilter and can be used for finer control over which files or folders participate in synchronization.
Several events are available from the file sync provider, such as AppliedChange and CopyingFile. An application can register to receive notifications from any of these events. This enables the application to show synchronization progress to the user or take some other action.
Sync Services for File Systems uses Metadata Storage Service to store all synchronization metadata in a lightweight database. The metadata database is a single file. This file can be stored with the files and folders to be synchronized or in another location that is specified when the provider is initialized. For more information, see Sync Framework Metadata Storage Service.
For more information about how to use Sync Services for File Systems, see Sync Services for File Systems.
|AppliedChangeEventArgs||Provides data for the AppliedChange event.|
|ApplyingChangeEventArgs||Provides data for the ApplyingChange event.|
|CopyingFileEventArgs||Provides data for the CopyingFile event.|
|DetectedChangesEventArgs||Provides data for the DetectedChanges event.|
|DetectingChangesEventArgs||Provides data for the DetectingChanges event.|
|FileData||Represents information about a file or directory. This is a loose wrapper of the WIN32_FIND_DATA structure that contains additional path information.|
|FileSyncInvalidOperationException||The exception that is thrown when a method call is invalid for the current state of the object.|
|FileSyncProvider||Is a synchronous synchronization provider that can be used to synchronize files, folders, and subfolders in NTFS, FAT, or SMB file systems.|
|FileSyncScopeFilter||Defines filters that can be used to include or exclude files and folders from the static synchronization scope.|
|SkippedChangeEventArgs||Provides data for the SkippedChange event.|
|SkippedFileDetectEventArgs||Provides data for the SkippedFileDetect event.|
|ChangeType||Represents the different types of changes that can be applied to a destination replica.|
|FileSyncOptions||Provides options to configure the behavior of the file sync provider.|
|SkipReason||Represents the reason why a file was skipped during change detection or change application.|