DeploymentInitializeOptions.ForceDeployment 属性

定义

获取或设置一个值,该值指示在注册Windows 应用 SDK包时,如果当前正在使用与 Windows 应用 SDK Main 包和单一实例包关联的进程,是否将被强制关闭。

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

void ForceDeployment(bool value);
public bool ForceDeployment { get; set; }
var boolean = deploymentInitializeOptions.forceDeployment;
deploymentInitializeOptions.forceDeployment = boolean;
Public Property ForceDeployment As Boolean

属性值

Boolean

bool

true 如果进程当前正在使用,则强行关闭;否则为 false

适用于

另请参阅