ArcGIS Pro 2.8 API Reference Guide
EditCompletedEvent Class
Members  Example 

ArcGIS.Desktop.Editing.Events Namespace : EditCompletedEvent Class
Occurs when an EditOperation completes successfully.
Object Model
EditCompletedEvent ClassSubscriptionToken ClassSubscriptionToken Class
Syntax
Remarks
You can Subscribe to listen for EditCompletedEvents and specify a delegate that will be executed upon receiving the event. To stop listening, you can Unsubscribe. EventCompletedEventArgs holds information about the event.
Example
protected void subEditEvents()
{
  //subscribe to editcompleted
  var eceToken = EditCompletedEvent.Subscribe(onEce);
}

protected Task onEce(EditCompletedEventArgs args)
{
  //show number of edits
  Console.WriteLine("Creates: " + args.Creates.Values.Sum(list => list.Count).ToString());
  Console.WriteLine("Modifies: " + args.Modifies.Values.Sum(list => list.Count).ToString());
  Console.WriteLine("Deletes: " + args.Deletes.Values.Sum(list => list.Count).ToString());
  return Task.FromResult(0);
}
Inheritance Hierarchy

System.Object
   ArcGIS.Core.Events.EventBase
      ArcGIS.Core.Events.AsyncPresentationEvent<TPayload>
         ArcGIS.Desktop.Editing.Events.EditCompletedEvent

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditCompletedEvent Members
ArcGIS.Desktop.Editing.Events Namespace