Topic Path: Symbol Reference > Classes > TIdTask Class > TIdTask Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TIdTask.Create Constructor

Constructor for the object instance.

constructor Create(
    AYarn: TIdYarn
); virtual; reintroduce;
Parameters 
Description 
AYarn 
Executable thread or fiber for the task. 

Create is a reintroduced constructor in TIdTask

AYarn is the thread or fiber that executes for the task. 

Create calls the inherited constructor, and assigns the TIdYarn instance in AYarn to the Yarn property. 

Use Destroy to free the object instance.

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