CServiceConfig class (COM+)

Switch View :
ScriptFree
CServiceConfig class

Applies to: desktop apps only

Specifies and configures the services that are to be active in the service domain entered when calling either CoCreateActivity or CoEnterServiceDomain.

When to implement

This class is implemented by COM+.

CLSIDCLSID_CServiceConfig
ProgIDL"COMSVCS.CServiceConfig"
Interfaces

IServiceComTIIntrinsicsConfig

IServiceIISIntrinsicsConfig

IServiceInheritanceConfig

IServicePartitionConfig

IServiceSxSConfig

IServiceSynchronizationConfig

IServiceThreadPoolConfig

IServiceTrackerConfig

IServiceTransactionConfig

 

When to use

Use this class to configure the services that you want to use. CoCreateActivity and CoEnterServiceDomain enable you to use the services configured by this class without needing to tie those services to a component before using them.

This class was not designed to be used in Visual Basic.

Remarks

To create this object, call CoCreateInstance.

Objects instantiated from the CServiceConfig class aggregate the free-threaded marshaler so that they can be stored by system runtimes and reused in different apartments.

To configure an individual service, call QueryInterface for the interface associated with the service and then call methods on that interface to establish the appropriate configuration.

Requirements

Minimum supported client

Windows XP with SP1

Minimum supported server

Windows Server 2003

Header

ComSvcs.h

See also

CoCreateActivity
CoCreateFreeThreadedMarshaler
CoEnterServiceDomain
CoLeaveServiceDomain
COM+ Services Without Components

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012