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.

Transactions

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 ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.