IServicePoolConfig interface (comsvcs.h)

Used to configure an object pool.

Inheritance

The IServicePoolConfig interface inherits from the IUnknown interface. IServicePoolConfig also has these types of members:

Methods

The IServicePoolConfig interface has these methods.

 
IServicePoolConfig::get_ClassFactory

Retrieves a class factory for the pooled objects.
IServicePoolConfig::get_CreationTimeout

Retrieves the time-out interval for activating a pooled object.
IServicePoolConfig::get_MaxPoolSize

Retrieves the maximum number of objects in the pool.
IServicePoolConfig::get_MinPoolSize

Retrieves the minimum number of objects in the pool.
IServicePoolConfig::get_TransactionAffinity

Determines whether objects involved in transactions are held until the transaction completes.
IServicePoolConfig::put_ClassFactory

Sets a class factory for the pooled objects.
IServicePoolConfig::put_CreationTimeout

Sets the time-out interval for activating a pooled object.
IServicePoolConfig::put_MaxPoolSize

Sets the maximum number of objects in the pool.
IServicePoolConfig::put_MinPoolSize

Sets the minimum number of objects in the pool.
IServicePoolConfig::put_TransactionAffinity

Sets whether objects involved in transactions are held until the transaction completes.

Requirements

Requirement Value
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IServicePool