AddPackageOptions.DeferRegistrationWhenPackagesAreInUse 属性

定义

获取或设置一个值,该值指示在包当前正在使用时是否延迟main包或依赖项包的注册。

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

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

属性值

Boolean

bool

TRUE 表示main包或依赖项包的注册将延迟到下一次激活应用程序(如果包当前正在使用);否则为 FALSE

适用于