Udostępnij za pośrednictwem


ItemConflictingEventArgs.SetResolutionAction Method (ChangeUnitChange, ConflictResolutionAction)

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

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

Syntax

'Declaration
Public Overridable Sub SetResolutionAction ( _
    changeUnitChange As ChangeUnitChange, _
    resolutionAction As ConflictResolutionAction _
)
'Usage
Dim instance As ItemConflictingEventArgs
Dim changeUnitChange As ChangeUnitChange
Dim resolutionAction As ConflictResolutionAction

instance.SetResolutionAction(changeUnitChange, resolutionAction)
public virtual void SetResolutionAction (
    ChangeUnitChange changeUnitChange,
    ConflictResolutionAction resolutionAction
)
public:
virtual void SetResolutionAction (
    ChangeUnitChange^ changeUnitChange, 
    ConflictResolutionAction resolutionAction
)
public void SetResolutionAction (
    ChangeUnitChange changeUnitChange, 
    ConflictResolutionAction resolutionAction
)
public function SetResolutionAction (
    changeUnitChange : ChangeUnitChange, 
    resolutionAction : ConflictResolutionAction
)

Parameters

  • changeUnitChange
    The change unit to associate with the conflict resolution action.
  • resolutionAction
    The conflict resolution action.

Remarks

By setting this action, the ItemConflicting event handler specifies how the change applier should handle the conflict.

See Also

Reference

ItemConflictingEventArgs Class
ItemConflictingEventArgs Members
Microsoft.Synchronization Namespace