NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

COM+ 1.0 Contexts

The Microsoft.ComServices namespace contains familiar interfaces, methods, and properties to access COM+ 1.0 context objects.

A context is essentially a set of run-time properties maintained for a collection of one or more objects, and represents the smallest execution context for a component. Every COM object is associated with precisely one context as it runs (that is, between its activation and deactivation).

COM+ 1.0 uses context properties as the basis for providing run-time services. These properties hold state that determines how the execution environment will perform services for objects within the context. In some cases, you will interact directly with an object's context properties to indicate some state relevant to a service being provided for it. For example, you do this when an object that is participating in an automatic transaction votes on the outcome of the transaction.