ArcGIS Pro 2.6 API Reference Guide
CancelEdit(Func<Task<Boolean>>) Method

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.
Cancel the current EditOperation with a callback to execute code and possibly retry.
Syntax
public void CancelEdit( 
   Func<Task<bool>> callback
)
Public Overloads Sub CancelEdit( _
   ByVal callback As Func(Of Task(Of Boolean)) _
) 

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 10, Windows 8.1, Windows 7

See Also

Reference

EditCompletingEventArgs Class
EditCompletingEventArgs Members
Overload List