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.

In This Topic
    UndoAsync(Int32,String) Method
    In This Topic
    Rolls back the specified number of operations belonging to the specified category.
    Syntax
    public Task UndoAsync( 
       int count,
       string category
    )
    Public Overloads Function UndoAsync( _
       ByVal count As Integer, _
       ByVal category As String _
    ) As Task

    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

    See Also