ItemConstraintEventArgs::GetResolutionAction Method (ChangeUnitChange)

Gets the conflict resolution action for the conflicting change unit change.

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

public:
virtual ConstraintConflictResolutionAction GetResolutionAction(
	ChangeUnitChange^ changeUnitChange
)

Parameters

changeUnitChange
Type: Microsoft.Synchronization::ChangeUnitChange
The change unit for which to retrieve the conflict resolution action.

Return Value

Type: Microsoft.Synchronization::ConstraintConflictResolutionAction
The conflict resolution action for the conflicting change unit change.

ExceptionCondition
ArgumentNullException

changeUnitChange is a nullptr.

ArgumentException

changeUnitChange is not valid.

SyncInvalidOperationException

The change does not contain change units.

Show: