ArcGIS Pro 3.7 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 Overridable Function CloseAsync() As Task
    public virtual Task CloseAsync()
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also