Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the conflict resolution action.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Overridable Sub SetResolutionAction ( _
resolutionAction As ConflictResolutionAction _
)
'Usage
Dim instance As ItemConflictingEventArgs
Dim resolutionAction As ConflictResolutionAction
instance.SetResolutionAction(resolutionAction)
public virtual void SetResolutionAction (
ConflictResolutionAction resolutionAction
)
public:
virtual void SetResolutionAction (
ConflictResolutionAction resolutionAction
)
public void SetResolutionAction (
ConflictResolutionAction resolutionAction
)
public function SetResolutionAction (
resolutionAction : ConflictResolutionAction
)
Parameters
- resolutionAction
The conflict resolution action.
Remarks
By setting this action, the ItemConflicting event handler specifies how the change applier should handle the conflict.
When SourceWins is specified for a delete (destination)-update (source) conflict on an item that has change units, the NotifyingChangeApplier object converts the action to SkipChange to avoid restoring a partial item.
When SaveConflict is specified for an update (destination)-delete (source) conflict on an item and the source replica has cleaned up the tombstone for the item, the NotifyingChangeApplier object converts the action to SkipChange to avoid storing a conflict that does not have a version for the change.
See Also
Reference
ItemConflictingEventArgs Class
ItemConflictingEventArgs Members
Microsoft.Synchronization Namespace