Using COM+ Enterprise Services
The System.EnterpriseServices namespace provides an important infrastructure for building enterprise applications. This namespace defines a set of attributes and supporting classes and interfaces that can be used to build applications that utilize services such as JIT Activation, Synchronization, Object Pooling, Distributed Transactions, and Shared Property Management.
As a first step in utilizing COM+ services, you need to create what is called a ServicedComponent. A ServicedComponent inherits from the ServicedComponent class. This can be done either programmatically (as shown next) or by manually registering a .NET component into a COM+ application. Next, the component uses a set of attributes ...