ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Controls Namespace / EmbeddableControl Class / CloseAsync Method

In This Topic
    CloseAsync Method (EmbeddableControl)
    In This Topic
    Occurs when the controls is closed.
    Syntax
    public virtual Task CloseAsync()
    Public Overridable 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

    ArcGIS Pro version: 3.0 or higher.
    See Also