ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing.Events Namespace / EditCompletingEventArgs Class / CancelEdit Method / CancelEdit(Func<Task<Boolean>>) Method
This function will be called and its result awaited after the edit operation and if it returns true the Edit will be retried.
Version

CancelEdit(Func<Task<Boolean>>) Method
Cancel the current EditOperation with a callback to execute code and possibly retry.
Syntax
public void CancelEdit( 
   Func<Task<bool>> callback
)

Parameters

callback
This function will be called and its result awaited after the edit operation and if it returns true the Edit will be retried.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also