ISimpleSyncProviderConcurrencyConflictResolver.ResolveLocalDeleteRemoteUpdateConflict 方法

命名空间: Microsoft.Synchronization.SimpleProviders
程序集: Microsoft.Synchronization.SimpleProviders(在 microsoft.synchronization.simpleproviders.dll 中)

语法

声明
Sub ResolveLocalDeleteRemoteUpdateConflict ( _
    itemData As Object, _
    changeUnitsToUpdate As IEnumerable(Of SyncId), _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef itemWasDeletedAsResultOfResolution As Boolean, _
    <OutAttribute> ByRef updatedVersion As ItemFieldDictionary _
)
用法
Dim instance As ISimpleSyncProviderConcurrencyConflictResolver
Dim itemData As Object
Dim changeUnitsToUpdate As IEnumerable(Of SyncId)
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim itemWasDeletedAsResultOfResolution As Boolean
Dim updatedVersion As ItemFieldDictionary

instance.ResolveLocalDeleteRemoteUpdateConflict(itemData, changeUnitsToUpdate, recoverableErrorReportingContext, itemWasDeletedAsResultOfResolution, updatedVersion)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object itemData,
    IEnumerable<SyncId> changeUnitsToUpdate,
    RecoverableErrorReportingContext recoverableErrorReportingContext,
    out bool itemWasDeletedAsResultOfResolution,
    out ItemFieldDictionary updatedVersion
)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object^ itemData, 
    IEnumerable<SyncId^>^ changeUnitsToUpdate, 
    RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
    [OutAttribute] bool% itemWasDeletedAsResultOfResolution, 
    [OutAttribute] ItemFieldDictionary^% updatedVersion
)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object itemData, 
    IEnumerable<SyncId> changeUnitsToUpdate, 
    RecoverableErrorReportingContext recoverableErrorReportingContext, 
    /** @attribute OutAttribute() */ /** @ref */ boolean itemWasDeletedAsResultOfResolution, 
    /** @attribute OutAttribute() */ /** @ref */ ItemFieldDictionary updatedVersion
)
JScript does not support passing value-type arguments by reference.

参数

  • itemData
    特定于提供程序的格式的项数据。
  • changeUnitsToUpdate
    SyncId 对象的集合,这些对象表示在解决冲突的过程中应该更新的一组变更单位。
  • itemWasDeletedAsResultOfResolution
    返回一个值,指示自定义解决过程最终是否会删除项。
  • updatedVersion
    返回更新项的更新版本属性。如果返回值无效,则 Sync Framework 运行时将引发 ArgumentOutOfRangeException,这将结束该会话。

异常

异常类型 条件

SyncRuntimeInternalErrorException

changeUnitsToUpdate 包含了意外大小的变更单位。

请参阅

参考

ISimpleSyncProviderConcurrencyConflictResolver 接口
ISimpleSyncProviderConcurrencyConflictResolver 成员
Microsoft.Synchronization.SimpleProviders 命名空间