AtomicComposition.AddRevertAction(Action) 方法

定义

添加一个要在整个组合操作失败时执行的操作。

public:
 void AddRevertAction(Action ^ revertAction);
public void AddRevertAction (Action revertAction);
member this.AddRevertAction : Action -> unit
Public Sub AddRevertAction (revertAction As Action)

参数

revertAction
Action

要执行的操作。

适用于