SaveConflict 方法
在衍生類別中覆寫時,會儲存有關導致衝突之變更的資訊。
命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 Microsoft.Synchronization.dll 中)
語法
'宣告
Sub SaveConflict ( _
conflictingChange As ItemChange, _
conflictingChangeData As Object, _
conflictingChangeKnowledge As SyncKnowledge _
)
'用途
Dim instance As INotifyingChangeApplierTarget
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
)
abstract SaveConflict :
conflictingChange:ItemChange *
conflictingChangeData:Object *
conflictingChangeKnowledge:SyncKnowledge -> unit
function SaveConflict(
conflictingChange : ItemChange,
conflictingChangeData : Object,
conflictingChangeKnowledge : SyncKnowledge
)
參數
- conflictingChange
型別:Microsoft.Synchronization. . :: . .ItemChange
衝突變更的項目中繼資料。
- conflictingChangeData
型別:System. . :: . .Object
衝突變更的項目資料。
- conflictingChangeKnowledge
型別:Microsoft.Synchronization. . :: . .SyncKnowledge
套用這個變更時要學習的知識。這項知識必須與變更一起儲存。
備註
如果這個衝突所代表的變更會套用至複寫,conflictingChangeKnowledge 就必須與該複寫的知識結合。
請參閱
參考
INotifyingChangeApplierTarget介面