Export (0) Print
Expand All

ServiceProcessDescriptionAttribute Class

Specifies a description for a property or event.

For a list of all members of this type, see ServiceProcessDescriptionAttribute Members.

System.Object
   System.Attribute
      System.ComponentModel.DescriptionAttribute
         System.ServiceProcess.ServiceProcessDescriptionAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.All)>
Public Class ServiceProcessDescriptionAttribute
   Inherits DescriptionAttribute
[C#]
[AttributeUsage(AttributeTargets.All)]
public class ServiceProcessDescriptionAttribute :
   DescriptionAttribute
[C++]
[AttributeUsage(AttributeTargets::All)]
public __gc class ServiceProcessDescriptionAttribute : public
   DescriptionAttribute
[JScript]
public
   AttributeUsage(AttributeTargets.All)
class ServiceProcessDescriptionAttribute extends
   DescriptionAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

A visual designer can display the description when referencing the component member, such as in a Properties window. Access the Description property to get or set the text associated with this attribute.

Requirements

Namespace: System.ServiceProcess

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Serviceprocess (in System.Serviceprocess.dll)

See Also

ServiceProcessDescriptionAttribute Members | System.ServiceProcess Namespace | PropertyDescriptor | EventDescriptor

Show:
© 2014 Microsoft