Show: Delphi C++
Display Preferences

Datasnap.DSServer.TDSServerClass.OnCreateInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCreateInstance: TDSCreateInstanceEvent read FCreateInstanceEvent write FCreateInstanceEvent;

C++

__property TDSCreateInstanceEvent OnCreateInstance = {read=FCreateInstanceEvent, write=FCreateInstanceEvent};

Properties

Type Visibility Source Unit Parent
event published
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Datasnap.DSServer TDSServerClass

Description

Happens upon creation of server class instances.

Use this event to override the default creation of server class instances. This allows for custom initialization and custom object pooling if the LifeCycle property is set to TDSLifeCycle.Invocation.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance