December 2002
Intermediate to advanced
720 pages
17h 39m
English
A managed class that uses the .NET Enterprise Services is called a serviced component. To create a serviced component, you need to perform the following steps:
1. | Derive your class either directly or indirectly from the System.EnterpriseServices.ServicedComponent base class. |
2. | Add attributes to your classes, methods, and interfaces that specify the services that you want to use. |
3. | Add assembly-level attributes that specify the type of COM+ application you would like to create: Library (in-process) or Server (out-of-process). You can also use assembly-level attributes to specify other things about your COM+ application, such as its name or GUID. |
4. | Use the ContextUtil and SecurityCallContext classes to interact with ... |
Read now
Unlock full access