FileSyncProvider.CopyingFile Event

Occurs periodically to show progress while a file is being copied.

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

public event EventHandler<CopyingFileEventArgs> CopyingFile

This event is fired one time for every 512-KB block that is written to the file.

If the file is less than 512 KB, the event is not raised.

This event is not fired to indicate completion of the file copy operation. Instead, after the file is copied, the AppliedChange event is fired.

The CopyingFileEventArgs class provides the path of the file and the percentage of the file that has been copied.

Show: