FileSyncProvider.SkippedChange Event

Occurs when a change is skipped.

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

'Declaration
Public Event SkippedChange As EventHandler(Of SkippedChangeEventArgs)
'Usage
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of SkippedChangeEventArgs)

AddHandler instance.SkippedChange, handler

The reason for the skip is indicated by SkipReason.

The SkippedChangeEventArgs class provides the type of the change, the current file path, an exception object if an exception occurred, the file path as it would have been if the change had not been skipped, and the reason for the skip.

Show: