CServiceConfig class
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+.
Requirement | Value |
---|---|
CLSID | CLSID_CServiceConfig |
ProgID | L"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
Requirement | Value |
---|---|
Minimum supported client |
Windows XP with SP1 [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|