Udostępnij za pośrednictwem


Windows Service Applications

Using Microsoft Visual Studio or the Microsoft .NET Framework SDK, you can easily create services by creating an application that is installed as a service. This type of application is called a Windows Service. With framework features, you can create services, install them, and start, stop, and otherwise control their behavior.

Note

The Windows Service template and associated functionality is not available in the Standard Edition of Visual Studio.

Warning

The Windows Service template for C++ is not included in Visual Studio 2010. To create a Windows Service, you can either create a service in managed code in Visual C# or Visual Basic, which could interoperate with existing C++ code if required, or you can create a Windows Service in native C++ by using the ATL Project Wizard.

In This Section