PackageManager 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
管理使用者可用的軟體。
public ref class PackageManager sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class PackageManager final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PackageManager
Public NotInheritable Class PackageManager
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
備註
版本歷程記錄
Windows 版本 | SDK 版本 | 新增值 |
---|---|---|
1607 | 14393 | GetPackageVolumesAsync |
1703 | 15063 | AddPackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable < Uri >) |
1703 | 15063 | DebugSettings |
1703 | 15063 | RegisterPackageByFamilyNameAsync |
1703 | 15063 | StagePackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable < Uri >) |
1709 | 16299 | AddPackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable Uri,IEnumerable << Uri >>) |
1709 | 16299 | AddPackageByAppInstallerFileAsync |
1709 | 16299 | ProvisionPackageForAllUsersAsync |
1709 | 16299 | RequestAddPackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable < Uri >) |
1709 | 16299 | RequestAddPackageByAppInstallerFileAsync |
1709 | 16299 | StagePackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable Uri,IEnumerable <<< Uri >>) |
1803 | 17134 | RequestAddPackageAsync (Uri,IEnumerable < Uri > ,DeploymentOptions,PackageVolume,IEnumerable,IEnumerable Uri,IEnumerable << Uri >>) |
1809 | 17763 | DeprovisionPackageForAllUsersAsync |
2004 | 19041 | AddPackageByUriAsync |
2004 | 19041 | FindProvisionedPackages |
2004 | 19041 | GetPackageStubPreference |
2004 | 19041 | RegisterPackageByUriAsync |
2004 | 19041 | RegisterPackagesByFullNameAsync |
2004 | 19041 | SetPackageStubPreference |
2004 | 19041 | StagePackageByUriAsync |
建構函式
PackageManager() |
建立並初始化 物件的新實例。 |
屬性
DebugSettings |
取得 套件 部署的偵錯設定。 |