次の方法で共有


ISimpleSyncProviderConcurrencyConflictResolver.ResolveUpdateUpdateConflict メソッド

名前空間: Microsoft.Synchronization.SimpleProviders
アセンブリ: Microsoft.Synchronization.SimpleProviders (microsoft.synchronization.simpleproviders.dll 内)

構文

'宣言
Sub ResolveUpdateUpdateConflict ( _
    itemData As Object, _
    changeUnitsToMerge As IEnumerable(Of SyncId), _
    changeUnitsToUpdate As IEnumerable(Of SyncId), _
    keyAndExpectedVersion As ItemFieldDictionary, _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef updatedVersion As ItemFieldDictionary _
)
'使用
Dim instance As ISimpleSyncProviderConcurrencyConflictResolver
Dim itemData As Object
Dim changeUnitsToMerge As IEnumerable(Of SyncId)
Dim changeUnitsToUpdate As IEnumerable(Of SyncId)
Dim keyAndExpectedVersion As ItemFieldDictionary
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim updatedVersion As ItemFieldDictionary

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

パラメーター

  • itemData
    プロバイダー固有形式の項目のデータ。
  • changeUnitsToMerge
    競合の解決中にマージする必要がある変更単位のセットを表す SyncId オブジェクトのコレクション。
  • changeUnitsToUpdate
    競合の解決中に更新する必要がある変更単位のセットを表す SyncId オブジェクトのコレクション。
  • keyAndExpectedVersion
    競合している項目のキー プロパティとバージョン プロパティ。
  • recoverableErrorReportingContext
    競合を解決しようとしたときに発生した復旧可能なエラーを報告するための RecoverableErrorReportingContext オブジェクト。
  • updatedVersion
    更新された項目の更新されたバージョン プロパティを返します。戻り値が無効である場合、Sync Framework ランタイムは ArgumentOutOfRangeException をスローし、その結果、セッションが終了します。

例外

例外の種類 条件

SyncRuntimeInternalErrorException

changeUnitsToMerge または changeUnitsToUpdate に予期しないサイズの変更単位が含まれていました。

参照

リファレンス

ISimpleSyncProviderConcurrencyConflictResolver インターフェイス
ISimpleSyncProviderConcurrencyConflictResolver メンバー
Microsoft.Synchronization.SimpleProviders 名前空間