C#
AbortValue CheckForAbort();
Remarks
To cancel an index update using IIndexStatusHandler, return AbortValue.Cancel or AbortValue.CancelImmediately from your CheckForAbort function. AbortValue.Cancel causes the update to stop after the current file and to commit data indexed so far. AbortValue.CancelImmediately cancels the update immediately, without saving any changes to the index (so the index will revert to its state as of the last commit).
See Also