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
)
public ConstraintConflictResolutionAction GetResolutionAction (
    ChangeUnitChange changeUnitChange
)
public function GetResolutionAction (
    changeUnitChange : ChangeUnitChange
) : ConstraintConflictResolutionAction

Parameters

  • changeUnitChange
    The change unit for which to retrieve the conflict resolution action.

Return Value

The conflict resolution action for the conflicting change unit change.

Exceptions

Exception type 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
ItemConstraintEventArgs Members
Microsoft.Synchronization Namespace