CreateSharedPackageContainerOptions 类

定义

提供通过调用 SharedPackageContainerManager.CreateContainer 创建共享包容器的选项。

public ref class CreateSharedPackageContainerOptions 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 CreateSharedPackageContainerOptions 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 CreateSharedPackageContainerOptions
function CreateSharedPackageContainerOptions()
Public NotInheritable Class CreateSharedPackageContainerOptions
继承
Object Platform::Object IInspectable CreateSharedPackageContainerOptions
属性

Windows 要求

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

构造函数

CreateSharedPackageContainerOptions()

初始化 CreateSharedPackageContainerOptions 类的新实例。

属性

CreateCollisionOption

获取或设置共享包容器创建操作的冲突选项。

ForceAppShutdown

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

Members

获取 SharedPackageContainerMember 对象的只读列表,这些对象代表集包系列,以及容器中包含的任何关联的元组数据。

适用于