This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindow Interface > INAWindow.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 );
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.