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


ITrackCancel.Continue 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.Continue Method
ArcGIS Developer Help

ITrackCancel.Continue Method

Called frequently while associated operation is progressing. A return value of false indicates that the operation should stop.

[Visual Basic .NET]
Public Function Continue ( _
) As Boolean
[C#]
public bool Continue (
);
[C++]
HRESULT Continue(
void
);

Product Availability

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

Description

The Continue method should be called to check whether the user has cancelled the operation. By default a cancel will occur under the following circumstances:

If any of these actions occur, the ITrackCancel::Continue method will return false. The logic of the operation should use this indicator to cancel the operation.

The Continue method is only valid during the operation to which it applies, therefore for a drawing operation it can be used in OnBeforeScreenDraw, OnAfterDraw and onAfterScreenDraw event handlers.

A cancelled drawing operation cannot be continued, but you can use the Continue method to determine that the current operation was cancelled and refresh the map if necessary.

See Also

ITrackCancel Interface