ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing.Events Namespace / EditCompletingEventArgs Class / CancelEdit Method / CancelEdit(String,Boolean) Method

In This Topic
    CancelEdit(String,Boolean) Method
    In This Topic
    Cancel the current EditOperation with an option to override.
    Syntax
    public void CancelEdit( 
       string errorMessage,
       bool canOverride
    )
    Public Overloads Sub CancelEdit( _
       ByVal errorMessage As String, _
       Optional ByVal canOverride As Boolean _
    ) 

    Parameters

    errorMessage
    canOverride
    Remarks
    This method is used internally by workflow manager during feature creation. A dialog is always displayed with a fixed title. The override determines if the user can override the cancel.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also