Datasnap.DSSession.TDSSession.ObjectCreator

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property ObjectCreator: TObject read FCreator write FCreator;

C++

__property System::TObject* ObjectCreator = {read=FCreator, write=FCreator};

Description

Exposes the creator object.

ObjectCreator exposes the creator object. It can be the server transport, HTTP service, and so on.

ObjectCreator is usually used to distinguish between sessions in a Close event, or to extract more metadata about the session context.