System.Win.ComObj.TComObjectFactory.ThreadingModel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ThreadingModel: TThreadingModel read FThreadingModel;

C++

__property TThreadingModel ThreadingModel = {read=FThreadingModel, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TComObjectFactory

Description

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

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.

See Also