Share via


FileSyncProvider.DetectedChanges Event

Occurs when the change detection pass is complete.

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

Syntax

'Declaration
Public Event DetectedChanges As EventHandler(Of DetectedChangesEventArgs)
'Usage
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of DetectedChangesEventArgs)

AddHandler instance.DetectedChanges, handler
public event EventHandler<DetectedChangesEventArgs> DetectedChanges
public:
 event EventHandler<DetectedChangesEventArgs^>^ DetectedChanges {
    void add (EventHandler<DetectedChangesEventArgs^>^ value);
    void remove (EventHandler<DetectedChangesEventArgs^>^ value);
}
member DetectedChanges : IEvent<EventHandler<DetectedChangesEventArgs>,
    DetectedChangesEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

Files and folders that are excluded by the scope filter or skipped are not counted. Therefore, they are not included in the totals that are provided in DetectedChangesEventArgs.

The DetectedChangesEventArgs class provides the total count of directories, the total count of files, and the total cumulative size of the files that were analyzed during change detection.

See Also

Reference

FileSyncProvider Class

Microsoft.Synchronization.Files Namespace