DeleteSharedPackageContainerOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于通过调用 SharedPackageContainerManager.DeleteContainer 创建共享包容器的选项。
public ref class DeleteSharedPackageContainerOptions 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 DeleteSharedPackageContainerOptions 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 DeleteSharedPackageContainerOptions
function DeleteSharedPackageContainerOptions()
Public NotInheritable Class DeleteSharedPackageContainerOptions
- 继承
- 属性
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.22000.0 中引入)
|
API contract |
Windows.Management.Deployment.SharedPackageContainerContract (在 v1.0 中引入)
|
构造函数
DeleteSharedPackageContainerOptions() |
初始化 DeleteSharedPackageContainerOptions 类的新实例。 |
属性
AllUsers |
获取或设置一个值,该值指示是否应为所有用户删除共享包容器。 |
ForceAppShutdown |
获取或设置一个值,该值指定在创建共享容器中包含包的应用是否应在容器删除操作过程中关闭。 |