API:Datasnap.DSSession.TDSSession.Create

From RAD Studio API Documentation

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSSession

Delphi

constructor Create; overload; virtual;
constructor Create(const SessionName: string); overload; virtual;
constructor Create(const SessionName: string; const AUser: string); overload; virtual;

C++

__fastcall virtual TDSSession()/* overload */;
__fastcall virtual TDSSession(const System::UnicodeString SessionName)/* overload */;
__fastcall virtual TDSSession(const System::UnicodeString SessionName, const System::UnicodeString AUser)/* overload */;

Description

Constructs an object and initializes its data before the object is first used. Datasnap.DSSession.TDSSession.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.

Constructs an object and initializes its data before the object is first used.

Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.

See Also