共用方式為


DeleteSharedPackageContainerOptions 類別

定義

提供使用 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
繼承
Object Platform::Object IInspectable DeleteSharedPackageContainerOptions
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.22000.0 引進)
API contract
Windows.Management.Deployment.SharedPackageContainerContract (已於 v1.0 引進)

建構函式

DeleteSharedPackageContainerOptions()

初始化 DeleteSharedPackageContainerOptions 類別的新實例。

屬性

AllUsers

取得或設定值,指出是否應為所有使用者刪除共用套件容器。

ForceAppShutdown

取得或設定值,指定是否應在容器刪除作業中關閉具有已建立共用容器中套件的應用程式。

適用於