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

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