ServiceInstaller.Description プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ServiceInstaller.Description プロパティの意味・解説 

ServiceInstaller.Description プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

サービス説明取得または設定します

名前空間: System.ServiceProcess
アセンブリ: System.ServiceProcess (system.serviceprocess.dll 内)
構文構文

<ComVisibleAttribute(False)> _
Public Property Description As
 String
Dim instance As ServiceInstaller
Dim value As String

value = instance.Description

instance.Description = value
[ComVisibleAttribute(false)] 
public string Description { get;
 set; }
[ComVisibleAttribute(false)] 
public:
property String^ Description {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Description ()

/** @property */
public void set_Description (String value)

プロパティ
サービス説明既定値空の文字列 ("") です。

解説解説
使用例使用例

新しWindows サービス アプリケーションインストール プロパティ設定するコードの例次に示します。この例は、サービス名表示名および説明と共に設定しますサービスインストール プロパティ割り当てた後で、ServiceInstaller オブジェクトが Installers コレクション追加されています。

simpleServiceProcessInstaller = new ServiceProcessInstaller();
simpleServiceInstaller = new ServiceInstaller();
               
// Set the account properties for the service process.
simpleServiceProcessInstaller.Account = ServiceAccount.LocalService;
     
// Set the installation properties for the service.
// The ServiceInstaller.ServiceName must match the 
// ServiceBase.ServiceName set in the service
// implementation that is installed by this installer.
simpleServiceInstaller.ServiceName = "SimpleService";

simpleServiceInstaller.DisplayName = "Simple Service";
simpleServiceInstaller.Description = "A simple service that runs on the local
 computer.";
simpleServiceInstaller.StartType = ServiceStartMode.Manual;

// Add the installers to the Installer collection.
Installers.Add(simpleServiceInstaller);
Installers.Add(simpleServiceProcessInstaller);
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からServiceInstaller.Description プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からServiceInstaller.Description プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からServiceInstaller.Description プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ServiceInstaller.Description プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ServiceInstaller.Description プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS