Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
This chapter shows you how to use the Shared Property Manager to share state among multiple Microsoft Transaction Server objects running in the same process.
Scenario: A Receipt Number Generator That Uses the Shared Property Manager
Create a component that uses the Shared Property Manager to generate a unique receipt number for each bank transaction. |
|
Creating the Receipt Component
Create a SharedProperty object to get a new receipt number, with appropriate isolation and release modes for this scenario. |
|
Application Design Notes: Sharing State by Using the Shared Property Manager
Learn some of the advantages of using the Shared Property Manager to manage shared state within a process. |
See Also
Resource Dispensers, Stateful Components, SharedPropertyGroupManager object