Writing Serviced Components
A serviced component is the mechanism that enables COM+ services to be available to .NET Framework classes. This section describes how to configure and register serviced components for access to COM+ services.
Just-in-Time (JIT) Activation, Object Pooling, Queued Components, role-based security, Synchronization, Transactions, and Shared Property Management are examples of well-known COM+ services that are available for you to use.
Note |
|---|
| You can modify any Common Language Specification (CLS)–compliant class to use COM+ services. The System.EnterpriseServices namespace provides custom attributes and classes for accessing these services from managed code. |
Note |
|---|
| Client code must call Dispose on serviced components to ensure proper operation. |
In This Section
- Serviced Component Overview
-
Describes the process of writing a serviced component to include COM+ services.
- Serviced Components How-to Topics
-
Lists links to How-to topics contained in this section.
- How to: Create a Serviced Component
-
Describes the procedure for creating a services component.
- Serviced Component Programming Guidelines
-
Describes the guidelines to use when writing serviced components.
- Summary of Available COM+ Services
-
Describes each COM+ service and its configuration options.
- Applying Attributes to Configure COM+ Services
-
Describes the attributes used with serviced components.
- Registering Serviced Components
-
Describes the dynamic and manual registration processes.
- Serviced Component Example
-
Demonstrates the code elements associated with serviced components.
- Side-by-Side Assemblies
-
Describes the Side-by-Side feature of COM+ 1.5.
Reference
- System.EnterpriseServices
-
Provides .NET Framework objects with access to COM+ services, making the .NET Framework objects more practical for enterprise applications.
- System.EnterpriseServices.CompensatingResourceManager
-
Provides classes that allow you to include nontransactional objects in Microsoft Distributed Transaction Coordinator (DTC) transactions.
Note