ServiceProcessDescriptionAttribute Constructor (String)


Initializes a new instance of the ServiceProcessDescriptionAttribute class, using the specified description.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public ServiceProcessDescriptionAttribute(
	string description


Type: System.String

The application-defined description text.

The description you specify in the ServiceProcessDescriptionAttribute constructor is displayed by a visual designer when you access the property, event, or extender to which the attribute applies.

.NET Framework
Available since 1.1
Return to top