Where Windows service programs are easy to mix up !, Windows

Source: Internet
Author: User

Where Windows service programs are easy to mix up !, Windows

When developing a Windows service program, we generally need to add the installer, namely, serviceInstaller. Do you understand the name attributes?

1. Description: service Description (describes what the service is doing );

2. DisplayName: indicates a friendly name, which can be understood as an alias of a service name;

3. ServiceName: indicates the service name. This is the real service name. It is different from DisplayName and is the basis for system identification;

These three attributes are in Windows 7 and later operating systems, but they are different from each other:

In the local service list: (services. msc)

The name column displays DisplayName,

Description is displayed in the Description column.

 

In the WINDOWS Task Manager service tab list:

The name column displays ServiceName,

The description column displays DisplayName.

I was previously confused by these three attributes. The installation was successful and can be seen in the service list of the task manager, but it cannot be found in the service list, in fact, ServiceName and DisplayName are wrong.

The image is as follows:

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.