ArcGIS Pro 2.7 API Reference Guide
Callback(Action<IEditContext>,Dataset[]) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Callback Method : Callback(Action<IEditContext>,Dataset[]) Method
The function object.
The datasets to operate on.
Registers that the edit operation will callback into the given function in the context of an edit operation. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void Callback( 
   Action<EditOperation.IEditContext> action,
   params Dataset[] datasets
)
Public Overloads Sub Callback( _
   ByVal action As Action(Of EditOperation.IEditContext), _
   ByVal ParamArray datasets() As Dataset _
) 

Parameters

action
The function object.
datasets
The datasets to operate on.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List