ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Page Class / CancelAsync Method
Version

    CancelAsync Method (Page)
    Invoked when the cancel button on the property sheet has been clicked.
    Syntax
    protected internal virtual Task CancelAsync()

    Return Value

    A task that represents the work queued to execute in the ThreadPool.
    Remarks
    This function is only called if the page has set its IsModified flag to true.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also