Internet Direct (Indy)
Home
PreviousUpNext
TIdTask.Create Constructor

Constructor for the object instance.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.