ServiceProcessDescriptionAttribute-Klasse
Gibt eine Beschreibung für eine Eigenschaft oder ein Ereignis an.
Namespace: System.ServiceProcess
Assembly: System.ServiceProcess (in system.serviceprocess.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.All)> _
Public Class ServiceProcessDescriptionAttribute
Inherits DescriptionAttribute
'Usage
Dim instance As ServiceProcessDescriptionAttribute
[AttributeUsageAttribute(AttributeTargets.All)]
public class ServiceProcessDescriptionAttribute : DescriptionAttribute
[AttributeUsageAttribute(AttributeTargets::All)]
public ref class ServiceProcessDescriptionAttribute : public DescriptionAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.All) */
public class ServiceProcessDescriptionAttribute extends DescriptionAttribute
AttributeUsageAttribute(AttributeTargets.All)
public class ServiceProcessDescriptionAttribute extends DescriptionAttribute
Hinweise
Ein visueller Designer kann die Beschreibung beim Verweisen auf den Komponentenmember anzeigen, z. B. in einem Eigenschaftenfenster. Mit der Description-Eigenschaft kann der diesem Attribut zugeordnete Text abgerufen oder festgelegt werden.
Vererbungshierarchie
System.Object
System.Attribute
System.ComponentModel.DescriptionAttribute
System.ServiceProcess.ServiceProcessDescriptionAttribute
Threadsicherheit
Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
ServiceProcessDescriptionAttribute-Member
System.ServiceProcess-Namespace
PropertyDescriptor
EventDescriptor