ServiceProcessDescriptionAttribute(String) 建構函式

定義

使用指定的描述初始化該類別的新 ServiceProcessDescriptionAttribute 實例。

public:
 ServiceProcessDescriptionAttribute(System::String ^ description);
public ServiceProcessDescriptionAttribute(string description);
new System.ServiceProcess.ServiceProcessDescriptionAttribute : string -> System.ServiceProcess.ServiceProcessDescriptionAttribute
Public Sub New (description As String)

參數

description
String

應用程式定義的描述文字。

備註

你在建構子中 ServiceProcessDescriptionAttribute 指定的描述,會在你存取該屬性所適用的屬性、事件或擴展器時,由視覺設計器顯示。

適用於

另請參閱