ItemConflictingEventArgs.SetResolutionAction Method (ChangeUnitChange, ConflictResolutionAction)
Sets the conflict resolution action for the specified change unit change.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Overridable Sub SetResolutionAction ( _
changeUnitChange As ChangeUnitChange, _
resolutionAction As ConflictResolutionAction _
)
'Usage
Dim instance As ItemConflictingEventArgs
Dim changeUnitChange As ChangeUnitChange
Dim resolutionAction As ConflictResolutionAction
instance.SetResolutionAction(changeUnitChange, _
resolutionAction)
public virtual void SetResolutionAction(
ChangeUnitChange changeUnitChange,
ConflictResolutionAction resolutionAction
)
public:
virtual void SetResolutionAction(
ChangeUnitChange^ changeUnitChange,
ConflictResolutionAction resolutionAction
)
abstract SetResolutionAction :
changeUnitChange:ChangeUnitChange *
resolutionAction:ConflictResolutionAction -> unit
override SetResolutionAction :
changeUnitChange:ChangeUnitChange *
resolutionAction:ConflictResolutionAction -> unit
public function SetResolutionAction(
changeUnitChange : ChangeUnitChange,
resolutionAction : ConflictResolutionAction
)
Parameters
- changeUnitChange
Type: Microsoft.Synchronization.ChangeUnitChange
The change unit to associate with the conflict resolution action.
- resolutionAction
Type: Microsoft.Synchronization.ConflictResolutionAction
The conflict resolution action.
Remarks
By setting this action, the ItemConflicting event handler specifies how the change applier should handle the conflict.