Share via


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)

Syntax

'Declaration
Public Overridable Function GetResolutionAction ( _
    changeUnitChange As ChangeUnitChange _
) As ConstraintConflictResolutionAction
'Usage
Dim instance As ItemConstraintEventArgs
Dim changeUnitChange As ChangeUnitChange
Dim returnValue As ConstraintConflictResolutionAction

returnValue = instance.GetResolutionAction(changeUnitChange)
public virtual ConstraintConflictResolutionAction GetResolutionAction(
    ChangeUnitChange changeUnitChange
)
public:
virtual ConstraintConflictResolutionAction GetResolutionAction(
    ChangeUnitChange^ changeUnitChange
)
abstract GetResolutionAction : 
        changeUnitChange:ChangeUnitChange -> ConstraintConflictResolutionAction 
override GetResolutionAction : 
        changeUnitChange:ChangeUnitChange -> ConstraintConflictResolutionAction 
public function GetResolutionAction(
    changeUnitChange : ChangeUnitChange
) : ConstraintConflictResolutionAction

Parameters

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

changeUnitChange is a null reference (Nothing in Visual Basic).

ArgumentException

changeUnitChange is not valid.

SyncInvalidOperationException

The change does not contain change units.

See Also

Reference

ItemConstraintEventArgs Class

GetResolutionAction Overload

Microsoft.Synchronization Namespace