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 命名空间