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.Reset Method (ArcObjects .NET 10.5 SDK) |
Resets the manager after the associated operation is finished.
[Visual Basic .NET]
Public Sub Reset ( _
)
[C#] public void Reset ( );
[C++]
HRESULT Reset(
void
);
The Reset method should be called just before a process that may be cancelled, such as a lengthy operation, begins. The Reset method sets the state of the CancelTracker to uncancelled and returns the internal counter, which is used to update the Progressor to zero.