Interface ITrackCancel

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

Provides access to members that control the Cancel Tracker.

[Guid("34C20005-4D3C-11D0-92D8-00805F7C28B0")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITrackCancel

Properties

CancelOnClick

Indicates whether mouse clicks should cancel the operation.

bool CancelOnClick { get; set; }

Property Value

bool

CancelOnKeyPress

Indicates whether the escape key and spacebar should cancel the operation.

bool CancelOnKeyPress { get; set; }

Property Value

bool

CheckTime

The interval at which the operation will be interrupted to advance progressors and process messages.

int CheckTime { get; set; }

Property Value

int

ProcessMessages

An obsolete method.

bool ProcessMessages { get; set; }

Property Value

bool

Progressor

The progressor used to show progress during lengthy operations.

IProgressor Progressor { get; set; }

Property Value

IProgressor

Remarks

If the progressor is a step progressor, the MaxRange should be set to equal the number of iterations that the operation will progress through; this number should also match the number of times Continue will be called in the operation’s innermost loop.

TimerFired

An obsolete method.

bool TimerFired { get; }

Property Value

bool

Methods

Cancel()

Cancels the associated operation.

void Cancel()

Continue()

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

bool Continue()

Returns

bool

Reset()

Resets the manager after the associated operation is finished.

void Reset()

StartTimer(int, int)

An obsolete method.

void StartTimer(int hWnd, int Milliseconds)

Parameters

hWnd int
Milliseconds int

StopTimer()

An obsolete method.

void StopTimer()