RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComObjectFactory.ThreadingModel Property

Indicates the type of thread support provided by objects that the factory creates.

Pascal
property ThreadingModel: TThreadingModel;
C++
__property TThreadingModel ThreadingModel;

The threading model of a factory is initialized in the constructor. The factory uses this value to indicate how COM should serialize calls to the objects that it creates. Use this value to determine the type of thread support you must provide in the implementation of the associated COM object. 

 

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