ArcObjects Library Reference (Controls)  

IEngineNAWindow.AbortOperation Method

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IEngineNAWindow Interface