共用方式為


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
)

參數

備註

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

請參閱

參考

INotifyingChangeApplierTarget介面

INotifyingChangeApplierTarget 成員

Microsoft.Synchronization 命名空間