You are here: C++ Support Classes > dtSearch Namespace > Classes > DJobBase Class > DJobBase::CancelWithReason Method
dtSearch Text Retrieval Engine Programmer's Reference
DJobBase::CancelWithReason Method
void CancelWithReason(const char * reason);

Requests termination of the job in progress. For indexing jobs, the job will be halted after information in documents already indexed is saved in the index. The reason parameter is purely for diagnostic purposes.