ArcGIS Pro 2.7 API Reference Guide
DoAsync Method (CompositeOperationManager)

ArcGIS.Desktop.Framework Namespace > CompositeOperationManager Class : DoAsync Method
The operation to perform.
Performs the specified operation asynchronously and adds it to the undo stack.
Syntax
public override Task DoAsync( 
   Operation operation
)
Public Overrides NotOverridable Function DoAsync( _
   ByVal operation As Operation _
) As Task

Parameters

operation
The operation to perform.

Return Value

A task that represents the work queued to execute in the ThreadPool.
Exceptions
ExceptionDescription
Thrown when an invalid operation is passed in.
Thrown when the operation passed in does not belong to the established FilterCategory.
Remarks

The specified operation is performed by calling its ArcGIS.Desktop.Framework.Contracts.Operation.DoAsync method and it is added to this CompositeOperationManager's undo stack.

Whenever an operation is completed, each OperationManager's redo stack is cleared of all operations.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CompositeOperationManager Class
CompositeOperationManager Members