ArcGIS Pro 2.9 API Reference Guide
CancelAsync Method

ArcGIS.Desktop.Framework.Contracts Namespace > Page Class : CancelAsync Method
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, Windows 8.1

See Also

Reference

Page Class
Page Members