FileSyncProvider.DetectingChanges イベント

変更の検出パスのとき、ディレクトリが分析される直前に発生します。

名前空間: Microsoft.Synchronization.Files
アセンブリ: Microsoft.Synchronization.Files (microsoft.synchronization.files.dll 内)

構文

'宣言
Public Event DetectingChanges As EventHandler(Of DetectingChangesEventArgs)
'使用
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of DetectingChangesEventArgs)

AddHandler instance.DetectingChanges, handler
public event EventHandler<DetectingChangesEventArgs> DetectingChanges
public:
event EventHandler<DetectingChangesEventArgs^>^ DetectingChanges {
    void add (EventHandler<DetectingChangesEventArgs^>^ value);
    void remove (EventHandler<DetectingChangesEventArgs^>^ value);
}
/** @event */
public void add_DetectingChanges (EventHandler<DetectingChangesEventArgs> value)

/** @event */
public void remove_DetectingChanges (EventHandler<DetectingChangesEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

解説

このイベントは、変更の検出パスの間、ルート ディレクトリを含む各ディレクトリについて 1 回発生します。イベントは、フォルダーで変更の検出が開始される前に発生します。

DetectingChangesEventArgs クラスは、分析直前のディレクトリへのパスを提供します。

参照

リファレンス

FileSyncProvider クラス
FileSyncProvider メンバー
Microsoft.Synchronization.Files 名前空間