Using COM+ Services

COM+ provides you with an extensive set of services, many of which can be used from ASP applications without first having to create a COM component. For more information on how to configure these services on the COM+ side or how to use them in Visual Studio applications, please view the following topics in the COM+ software developer kit (SDK) or online at COM+ (Component Services) or COM+ Programmer's Reference:

  • COM+ Services without Components: This topic contains conceptual information about writing code that can use component services without the need to create COM+ components.
  • CoCreateActivity: This method creates an activity to do synchronous or asynchronous batch work that can use COM+ services without needing to create a COM+ component.
  • CoEnterServiceDomain, CoLeaveServiceDomain: These methods are used in pairs to surround code that can then use COM+ services. This eliminates the need to create a COM+ component for the sole purpose of using a COM+ service.
  • CServiceConfig: This class is used to specify and configure the services that are active in the service domain that you enter when calling CoCreateActivity or CoEnterServiceDomain.