Vcl.SvcMgr.TServiceThread.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(Service: TService);

C++

__fastcall TServiceThread(TService* Service);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TServiceThread

Description

Instantiates and initializes a TServiceThread object.

Applications do not need to call the constructor directly. Instances of TService create the TServiceThread object on startup. The Service parameter is the TService instance for which the TServiceThread is the dedicated thread.

The constructor sets the FreeOnTerminate property to true and then calls the base class constructor so that the thread object is created with its Suspended property set to false.

See Also