다음을 통해 공유


FileSyncProvider.AppliedChange 이벤트

파일 변경 내용이 적용될 때 발생합니다.

네임스페이스: Microsoft.Synchronization.Files
어셈블리: microsoft.synchronization.files.dll의 Microsoft.Synchronization.Files

구문

‘선언
Public Event AppliedChange As EventHandler(Of AppliedChangeEventArgs)
‘사용 방법
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of AppliedChangeEventArgs)

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

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

주의

이 이벤트는 변경 내용이 파일에 대한 메타데이터에만 영향을 줄 때가 아니라 대상 복제본의 파일 데이터에 영향을 줄 때만 발생합니다. 예를 들어 업데이트-업데이트 충돌이 검색되고 대상 시스템의 파일이 적용되는 내용으로 선택되면 대상에 어떠한 변경 내용도 적용되지 않으며 이 이벤트가 발생하지 않습니다. 마찬가지로 원본에서 대상으로 삭제 표식을 전달하면 대상 파일 시스템에 변경 내용이 적용되지 않고 메타데이터 업데이트 내용만 적용됩니다. 이 경우 이 이벤트는 발생하지 않습니다.

AppliedChangeEventArgs 클래스는 변경 형식, 새 파일 경로 및 변경 내용이 적용되기 전의 파일 경로를 제공합니다.

참고 항목

참조

FileSyncProvider 클래스
FileSyncProvider 멤버
Microsoft.Synchronization.Files 네임스페이스