ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework Namespace / OperationManager Class / UndoAsync Method / UndoAsync(Int32,String) Method
The number of operations to roll back.
The category of operations to roll back.

UndoAsync(Int32,String) Method
Rolls back the specified number of operations belonging to the specified category.
Syntax
public Task UndoAsync( 
   int count,
   string category
)

Parameters

count
The number of operations to roll back.
category
The category of operations to roll back.

Return Value

A task that represents the work queued to execute in the ThreadPool.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also