FileSyncProvider.DetectingChanges 이벤트
디렉터리가 변경 내용 검색 작업을 수행하는 동안 분석되려고 할 때 발생합니다.
네임스페이스: Microsoft.Synchronization.Files
어셈블리: microsoft.synchronization.files.dll의 Microsoft.Synchronization.Files
구문
‘선언
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.
주의
이 이벤트는 변경 내용 검색 작업을 수행하는 동안 루트 디렉터리를 비롯한 모든 디렉터리에 대해 한 번 발생합니다. 이 이벤트는 해당 폴더에 대해 변경 내용 검색이 시작되기 전에 발생합니다.
DetectingChangesEventArgs 클래스는 분석되려고 하는 디렉터리에 대한 경로를 제공합니다.
참고 항목
참조
FileSyncProvider 클래스
FileSyncProvider 멤버
Microsoft.Synchronization.Files 네임스페이스