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);
}
/** @event */
public void add_DetectedChanges (EventHandler<DetectedChangesEventArgs> value)

/** @event */
public void remove_DetectedChanges (EventHandler<DetectedChangesEventArgs> value)
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
FileSyncProvider Members
Microsoft.Synchronization.Files Namespace