AddPackageOptions.ForceAppShutdown 属性

定义

获取或设置一个值,该值指示是否强行关闭与包关联的进程,以便在包或依赖于包的任何包当前正在使用时注册可以继续。

public:
 property bool ForceAppShutdown { bool get(); void set(bool value); };
bool ForceAppShutdown();

void ForceAppShutdown(bool value);
public bool ForceAppShutdown { get; set; }
var boolean = addPackageOptions.forceAppShutdown;
addPackageOptions.forceAppShutdown = boolean;
Public Property ForceAppShutdown As Boolean

属性值

Boolean

bool

TRUE 表示将强制关闭与包关联的进程,以便可以继续注册;否则为 FALSE

适用于