ArcGIS Pro 2.9 API Reference Guide
CloseAsync Method (ToolOptionsEmbeddableControl)

ArcGIS.Desktop.Editing Namespace > ToolOptionsEmbeddableControl Class : CloseAsync Method
Occurs when the controls is closed.
Syntax
public override Task CloseAsync()
Public Overrides Function CloseAsync() As Task
Remarks
Leaf classes should override this function if they need to perform any asynchronous cleanup when the control is removed.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ToolOptionsEmbeddableControl Class
ToolOptionsEmbeddableControl Members