共用方式為


IConflictLogWriter.SaveConflict 方法

在衍生類別中覆寫時,會儲存有關導致並行衝突之變更的資訊。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Sub SaveConflict ( _
    conflictingChange As ItemChange, _
    conflictingChangeData As Object, _
    conflictingChangeKnowledge As SyncKnowledge _
)
'用途
Dim instance As IConflictLogWriter
Dim conflictingChange As ItemChange
Dim conflictingChangeData As Object
Dim conflictingChangeKnowledge As SyncKnowledge

instance.SaveConflict(conflictingChange, conflictingChangeData, conflictingChangeKnowledge)
void SaveConflict (
    ItemChange conflictingChange,
    Object conflictingChangeData,
    SyncKnowledge conflictingChangeKnowledge
)
void SaveConflict (
    ItemChange^ conflictingChange, 
    Object^ conflictingChangeData, 
    SyncKnowledge^ conflictingChangeKnowledge
)
void SaveConflict (
    ItemChange conflictingChange, 
    Object conflictingChangeData, 
    SyncKnowledge conflictingChangeKnowledge
)
function SaveConflict (
    conflictingChange : ItemChange, 
    conflictingChangeData : Object, 
    conflictingChangeKnowledge : SyncKnowledge
)

參數

  • conflictingChange
    衝突變更的項目中繼資料。
  • conflictingChangeData
    衝突變更的項目資料。
  • conflictingChangeKnowledge
    套用這個變更時要學習的知識。這項知識必須與變更一起儲存。

備註

如果這個衝突所代表的變更會套用至複寫,conflictingChangeKnowledge 就必須與該複寫的知識結合。

請參閱

參考

IConflictLogWriter 介面
IConflictLogWriter 成員
Microsoft.Synchronization 命名空間