次の方法で共有


ServiceProcessDescriptionAttribute クラス

プロパティまたはイベントの説明を指定します。

この型のすべてのメンバの一覧については、ServiceProcessDescriptionAttribute メンバ を参照してください。

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

<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

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

ビジュアルなデザイナでは、コンポーネント メンバを参照する場合に、そのメンバの説明をプロパティ ウィンドウなどに表示できます。 Description プロパティにアクセスして、この属性に関連付けられたテキストを取得または設定します。

必要条件

名前空間: System.ServiceProcess

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Serviceprocess (System.Serviceprocess.dll 内)

参照

ServiceProcessDescriptionAttribute メンバ | System.ServiceProcess 名前空間 | PropertyDescriptor | EventDescriptor