ArcGIS Pro 2.8 API Reference Guide
Flush Method

ArcGIS.Core.Data Namespace > InsertCursor Class : Flush Method
Write all changes to the Table. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Flush()
Public Sub Flush() 
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
This method guarantees that changes are written to the table. Depending on the underlying datastore and the transaction model in use, edits may be flushed before this call is made.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

InsertCursor Class
InsertCursor Members