Building COM+ Components
This next section will take you through the C# code that you can use to build the features described in the previous section. There are two key factors to building COM+ components in the .NET Framework: the ServicedComponent class from which all .NET COM+ components inherit, and various custom code attributes that give the COM+ environment detailed instructions on how to regulate the behavior of components and COM+ applications.
As mentioned earlier, transactions indicate a single, cohesive unit of work. If something goes wrong during a transaction, the assumption must be that all work performed during that transaction will be rolled back or cancelled. If everything during the transaction goes properly, the ...