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

In This Topic
    CancelAsync Method (Page)
    In This Topic
    Invoked when the cancel button on the property sheet has been clicked.
    Syntax
    protected internal virtual Task CancelAsync()
    Protected Friend Overridable Function CancelAsync() As Task

    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