RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSServerClass.OnCreateInstance Event

Happens upon creation of server class instances.

Pascal
property OnCreateInstance: TDSCreateInstanceEvent;
C++
__property TDSCreateInstanceEvent OnCreateInstance;

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!