This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNAWindow Interface > IEngineNAWindow.AbortOperation Method (ArcObjects .NET 10.4 SDK) |
Cancels the operation in progress.
[Visual Basic .NET] Public Sub AbortOperation ( _ ByVal pNAContext As INAContext _ )
[C#] public void AbortOperation ( INAContext pNAContext );
[C++]
HRESULT AbortOperation(
INAContext* pNAContext
);
[C++]
Parameters pNAContext [in]
pNAContext is a parameter of type INAContext
AbortOperation is used to stop and undo an edit operation already in progress without creating an operation on the stack.
You must call this after a call to StartOperation. You should not call StopOperation after a call to AbortOperation.