Web.HTTPApp.TWebModule.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TWebModule(System::Classes::TComponent* AOwner);
/* TDataModule.CreateNew */ inline __fastcall virtual TWebModule(System::Classes::TComponent* AOwner, int Dummy) : TCustomWebDispatcher(AOwner, Dummy) { }

Properties

Type Visibility Source Unit Parent
constructor public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebModule

Description

Creates an instance of TWebModule.

Do not create instances at runtime. The Web module is created automatically when a Web application project is created at design time. Every time a Web server application is run in response to an HTTP request message, a new TWebModule is created based on the Web module that was created at design time.

Create generates an OnCreate event, so that Web applications can initialize the Web module before the new HTTP request message is processed.

See Also