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

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