UpdateSharedPackageContainerOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供更新共用套件容器的選項。
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
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows Desktop Extension SDK (已於 10.0.22000.0 引進)
|
API contract |
Windows.Management.Deployment.SharedPackageContainerContract (已於 v1.0 引進)
|
建構函式
UpdateSharedPackageContainerOptions() |
初始化 UpdateSharedPackageContainerOptions 類別的新實例。 |
屬性
ForceAppShutdown |
取得或設定值,指定是否應該在容器更新作業中關閉具有封裝的應用程式。 |
RequirePackagesPresent |
取得或設定值,指定是否必須存在受影響的封裝,更新作業才能成功。 |