Compartilhar via


Método ISimpleSyncProviderConcurrencyConflictResolver.ResolveLocalUpdateRemoteDeleteConflict

Quando substituído em uma classe derivada, resolve conflitos nos quais um item foi atualizado na réplica local e excluído da réplica remota.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (em microsoft.synchronization.simpleproviders.dll)

Sintaxe

'Declaração
Sub ResolveLocalUpdateRemoteDeleteConflict ( _
    keyAndExpectedVersion As ItemFieldDictionary, _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef itemWasDeletedAsResultOfResolution As Boolean _
)
'Uso
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.

Parâmetros

  • keyAndExpectedVersion
    As propriedades de chave e versão do item que está em conflito.
  • recoverableErrorReportingContext
    Um objeto RecoverableErrorReportingContext usado para relatar erros recuperáveis que ocorrem durante as tentativas para resolver um conflito.
  • itemWasDeletedAsResultOfResolution
    Retorna se o item foi excluído como resultado do processo de resolução personalizado.

Consulte também

Referência

Interface ISimpleSyncProviderConcurrencyConflictResolver
Membros ISimpleSyncProviderConcurrencyConflictResolver
Namespace Microsoft.Synchronization.SimpleProviders