ItemConflictingEventArgs.SetResolutionAction 方法 (ChangeUnitChange, ConflictResolutionAction)

设置指定变更单位变更的冲突解决操作。

命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)

语法

声明
Public Overridable Sub SetResolutionAction ( _
    changeUnitChange As ChangeUnitChange, _
    resolutionAction As ConflictResolutionAction _
)
用法
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
)

参数

  • changeUnitChange
    要与冲突解决操作相关联的变更单位。
  • resolutionAction
    冲突解决操作。

备注

通过设置此操作,ItemConflicting 事件处理程序可指定变更应用方处理冲突的方式。

请参阅

参考

ItemConflictingEventArgs 类
ItemConflictingEventArgs 成员
Microsoft.Synchronization 命名空间