Udostępnij za pośrednictwem


INotifyingChangeApplierTarget.SaveConflict Method

When overridden in a derived class, saves information about a change that caused a conflict.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Sub SaveConflict ( _
    conflictingChange As ItemChange, _
    conflictingChangeData As Object, _
    conflictingChangeKnowledge As SyncKnowledge _
)
'Usage
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
)
void SaveConflict (
    ItemChange conflictingChange, 
    Object conflictingChangeData, 
    SyncKnowledge conflictingChangeKnowledge
)
function SaveConflict (
    conflictingChange : ItemChange, 
    conflictingChangeData : Object, 
    conflictingChangeKnowledge : SyncKnowledge
)

Parameters

  • conflictingChange
    The item metadata for the conflicting change.
  • conflictingChangeData
    The item data for the conflicting change.
  • conflictingChangeKnowledge
    The knowledge to be learned if this change is applied. This must be saved with the change.

Remarks

If the change represented by this conflict is applied to a replica, conflictingChangeKnowledge must be combined with the knowledge of that replica.

See Also

Reference

INotifyingChangeApplierTarget Interface
INotifyingChangeApplierTarget Members
Microsoft.Synchronization Namespace