다음을 통해 공유


ISimpleSyncProviderConcurrencyConflictResolver.ResolveLocalUpdateRemoteDeleteConflict 메서드

파생 클래스에서 재정의되면 항목이 로컬 복제본에서는 업데이트되고 원격 복제본에서는 삭제되는 경우 충돌을 해결합니다.

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

구문

‘선언
Sub ResolveLocalUpdateRemoteDeleteConflict ( _
    keyAndExpectedVersion As ItemFieldDictionary, _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef itemWasDeletedAsResultOfResolution As Boolean _
)
‘사용 방법
Dim instance As ISimpleSyncProviderConcurrencyConflictResolver
Dim keyAndExpectedVersion As ItemFieldDictionary
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim itemWasDeletedAsResultOfResolution As Boolean

instance.ResolveLocalUpdateRemoteDeleteConflict(keyAndExpectedVersion, recoverableErrorReportingContext, itemWasDeletedAsResultOfResolution)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary keyAndExpectedVersion,
    RecoverableErrorReportingContext recoverableErrorReportingContext,
    out bool itemWasDeletedAsResultOfResolution
)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary^ keyAndExpectedVersion, 
    RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
    [OutAttribute] bool% itemWasDeletedAsResultOfResolution
)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary keyAndExpectedVersion, 
    RecoverableErrorReportingContext recoverableErrorReportingContext, 
    /** @attribute OutAttribute() */ /** @ref */ boolean itemWasDeletedAsResultOfResolution
)
JScript does not support passing value-type arguments by reference.

매개 변수

  • keyAndExpectedVersion
    충돌하는 항목의 키 및 버전 속성입니다.
  • recoverableErrorReportingContext
    충돌을 해결하려는 동안 발생하는 복구할 수 있는 오류를 보고하는 데 사용되는 RecoverableErrorReportingContext 개체입니다.
  • itemWasDeletedAsResultOfResolution
    사용자 지정 해결 프로세스의 결과로 항목이 삭제되었는지 여부를 반환합니다.

참고 항목

참조

ISimpleSyncProviderConcurrencyConflictResolver 인터페이스
ISimpleSyncProviderConcurrencyConflictResolver 멤버
Microsoft.Synchronization.SimpleProviders 네임스페이스