RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMtsAutoObject.Pooled Property

Indicates whether the object can be pooled when installed under COM+.

Pascal
property Pooled: Boolean;
C++
__property Boolean Pooled;

Set Pooled to indicate whether instances of the MTS Automation object can be pooled when installed under COM+. The MTS Automation object uses the Pooled property when implementing the IObjectControl method CanBePooled. This instructs COM+ that the object can be moved to an object pool when deactivated, so that the single instance is shared by all clients.

Warning: Do not set Pooled to True unless the MTS Automation object is stateless.
 

Object Pooling

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!