Export (0) Print
Expand All

How to: Create a Private Component

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This example shows how to use the PrivateComponentAttribute attribute on a class.

[PrivateComponent] 
public class CPrivate : ServicedComponent

This example requires:

  • References to the System.ServiceProcess namespace.

Show:
© 2015 Microsoft