WindowsServiceLifetimeOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定設定 Windows 服務壽命的選項。
public ref class WindowsServiceLifetimeOptions
public class WindowsServiceLifetimeOptions
type WindowsServiceLifetimeOptions = class
Public Class WindowsServiceLifetimeOptions
- 繼承
-
WindowsServiceLifetimeOptions
建構函式
| 名稱 | Description |
|---|---|
| WindowsServiceLifetimeOptions() |
指定設定 Windows 服務壽命的選項。 |
屬性
| 名稱 | Description |
|---|---|
| ServiceName |
該名稱用來識別系統中的服務。 |