Share via


FileSyncProvider.SkippedFileDetect Event

Occurs when a file or folder is not analyzed during change detection.

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

Syntax

'Declaration
Public Event SkippedFileDetect As EventHandler(Of SkippedFileDetectEventArgs)
'Usage
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of SkippedFileDetectEventArgs)

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

Remarks

This event occurs one time for every file or folder that is not analyzed during change detection. The reason for the skip is indicated by SkipReason.

The SkippedFileDetectEventArgs class provides an exception object if an exception occurred, the path to the file or folder, and the reason the file or folder was skipped.

See Also

Reference

FileSyncProvider Class

Microsoft.Synchronization.Files Namespace