Topic Path: Symbol Reference > Classes > TIdTask Class > TIdTask Methods > DoRun Method
TIdTask.DoRun Method

Triggers execution of the event handler for the task.

function DoRun: Boolean;

Boolean - Indicates if the threaded task is successfully executed.

DoRun is a Boolean function that performs the protected method that triggers execution of the event handler for the task. 

DoAfterRun, DoBeforeRun, and DoRun protect against the need to call inherited methods impelmented in descendant classes. 

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.