Share via


FileSyncProvider.SkippedChange Event

Occurs when a change is skipped.

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

Syntax

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

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

Remarks

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.

See Also

Reference

FileSyncProvider Class

Microsoft.Synchronization.Files Namespace