UpdateSharedPackageContainerOptions 类

定义

提供用于更新共享包容器的选项。

public ref class UpdateSharedPackageContainerOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Deployment.SharedPackageContainerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UpdateSharedPackageContainerOptions final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Deployment.SharedPackageContainerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UpdateSharedPackageContainerOptions
function UpdateSharedPackageContainerOptions()
Public NotInheritable Class UpdateSharedPackageContainerOptions
继承
Object Platform::Object IInspectable UpdateSharedPackageContainerOptions
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.22000.0 中引入)
API contract
Windows.Management.Deployment.SharedPackageContainerContract (在 v1.0 中引入)

构造函数

UpdateSharedPackageContainerOptions()

初始化 UpdateSharedPackageContainerOptions 类的新实例。

属性

ForceAppShutdown

获取或设置一个值,该值指定在创建共享容器中包含包的应用是否应在容器更新操作过程中关闭。

RequirePackagesPresent

获取或设置一个值,该值指定是否必须存在受影响的包才能使更新操作成功。

适用于