Topic Path: Symbol Reference > Classes > TIdThreadWithTask Class > TIdThreadWithTask Properties > Task Property
ContentsIndexHome
PreviousUpNext
TIdThreadWithTask.Task Property

Represents the executable task for a client connection in the thread instance.

property Task: TIdTask;

Task is a TIdTask property that represents the executable task for a client connection in the thread instance. 

Task is the client context for the thread, and is used in scheduling clinet connections in TIdTCPServer. Task allows the thread to be scheduled normally, but defers execution to the TIdTask indicated in the Task property in its BeforeRun, Run, and AfterRun methods.

TIdTCPServer.Contexts 

TIdTCPServer.Scheduler 

TIdScheduler 

TIdSchedulerOfThread 

TIdSchedulerOfThreadPool

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