ItemConstraintEventArgs::SetResolutionAction Method (ConstraintConflictResolutionAction)

Sets a conflict resolution action for the conflict.

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

public:
virtual void SetResolutionAction(
	ConstraintConflictResolutionAction resolutionAction
)

Parameters

resolutionAction
Type: Microsoft.Synchronization::ConstraintConflictResolutionAction
The conflict resolution action to set for the conflict.

ExceptionCondition
ArgumentException

The conflict is not a collision conflict and resolutionAction is set to a value other than SkipChange or SaveConflict, or when the conflict is a collision conflict and no conflict item ID has been specified.

Show: