ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / CompositeOperation Class / UndoAsync Method

UndoAsync Method (CompositeOperation)
Undo the operation to reset the action from the DoAsync method.
Syntax
protected internal override Task UndoAsync()

Return Value

Return a Task the application can wait on.
Remarks
Calls UndoAsync on each Operation in the list.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also