This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITrackCancel Interface > ITrackCancel.Cancel Method (ArcObjects .NET 10.5 SDK) |
Cancels the associated operation.
[Visual Basic .NET]
Public Sub Cancel ( _
)
[C#] public void Cancel ( );
[C++]
HRESULT Cancel(
void
);
By default a cancel will occur under the following circumstances:
Whether a cancel occurs will depend on when the key or button was pressed and the CheckTime property. For example, if a map redraw was cancelled by a key press then it is possible that some phases of the redraw will complete before the key press is handled.