共用方式為


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 物件的唯讀清單,代表集合封裝系列,以及容器中包含的任何相關聯的 Tuple 資料。

適用於