AtomicComposition.AddRevertAction(Action) AtomicComposition.AddRevertAction(Action) AtomicComposition.AddRevertAction(Action) AtomicComposition.AddRevertAction(Action) Method

定義

加入當整體撰寫作業失敗時要執行的動作。Adds an action to be executed if the overall composition operation fails.

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

參數

revertAction
Action Action Action Action

要執行的動作。The action to be executed.

適用於