WindowsServiceLifetimeOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定用于配置Windows服务的生存期的选项。
public ref class WindowsServiceLifetimeOptions
public class WindowsServiceLifetimeOptions
type WindowsServiceLifetimeOptions = class
Public Class WindowsServiceLifetimeOptions
- 继承
-
WindowsServiceLifetimeOptions
构造函数
| 名称 | 说明 |
|---|---|
| WindowsServiceLifetimeOptions() |
指定用于配置Windows服务的生存期的选项。 |
属性
| 名称 | 说明 |
|---|---|
| ServiceName |
用于标识系统服务的名称。 |