HostProtectionAttribute.SelfAffectingProcessMgmt 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否公开自我影响的进程管理。
public:
property bool SelfAffectingProcessMgmt { bool get(); void set(bool value); };
public bool SelfAffectingProcessMgmt { get; set; }
member this.SelfAffectingProcessMgmt : bool with get, set
Public Property SelfAffectingProcessMgmt As Boolean
属性值
true 如果公开了自我影响的进程管理,则为否则,为 false. 默认值为 false。
注解
影响自我的进程管理代码可能会退出当前进程,从而终止服务器。