Soap.Rio.TRIO.AfterConstruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AfterConstruction; override;

C++

virtual void __fastcall AfterConstruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.Rio.pas
Soap.Rio.hpp
Soap.Rio TRIO

Description

Updates the reference count after the last constructor has executed.

AfterConstruction is called automatically after the TRIO object's last constructor has executed. Do not call it explicitly in your applications.

TRIO overrides the AfterConstruction method to update the RefCount property. TRIO artificially increments the reference count when it is first created to prevent changes to the reference count from causing the TRIO instance to be freed before it is fully instantiated. AfterConstruction returns the reference count back to an appropriate level, now that the constructor is finished.

See Also