Share via


ItemConflictingEventArgs.GetResolutionAction Method (ChangeUnitChange)

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

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.Synchronization.ConflictResolutionAction
The conflict resolution action for the specified change unit change.

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentException

changeUnitChange is not valid.

SyncInvalidOperationException

The source change has no ChangeUnitChange objects.

See Also

Reference

ItemConflictingEventArgs Class

GetResolutionAction Overload

Microsoft.Synchronization Namespace