This document is archived and information here might be outdated.  Recommended version.


ITrackCancel.Cancel Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITrackCancel Interface > ITrackCancel.Cancel Method
ArcGIS Developer Help

ITrackCancel.Cancel Method

Cancels the associated operation.

[Visual Basic .NET]
Public Sub Cancel ( _
)
[C#]
public void Cancel (
);
[C++]
HRESULT Cancel(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ITrackCancel Interface