API:Datasnap.DSSession.TDSSession.Create

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
constructor public
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Datasnap.DSSession TDSSession

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