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
- changeUnitChange
Type: Microsoft.Synchronization.ChangeUnitChange
The change unit change that is associated with the returned conflict resolution action.
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. |