Soap.SOAPDm.TSoapDataModule.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Properties

Type Visibility Source Unit Parent
constructor public
Soap.SOAPDm.pas
Soap.SOAPDm.hpp
Soap.SOAPDm TSoapDataModule

Description

Creates a SOAP data module instance.

Most applications do not need to call the constructor for TSoapDataModule. Instead, add a SOAP data module to a Web service application using the SOAP data module wizard on the SOAP page of the new items dialog.

AOwner specifies the component that is responsible for freeing the SOAP data module (typically the application). If you supply an owner, the SOAP data module acts as a component, and is freed by that owner. If you pass nil for the AOwner parameter, the SOAP data module acts like an interfaced object, and maintains a reference count for every use of its interface. When that reference count goes to zero, the SOAP data module automatically frees itself. Note that is you set AOwner to nil but never obtain a reference to this object's interface, you must explicitly free the data module.

See Also