Share via


AppInstallerManager Klasse

Definition

Stellt APIs zum Aktualisieren von Einstellungen für das App-Installationsprogramm bereit, z. B. automatische Updates.

public ref class AppInstallerManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppInstallerManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppInstallerManager
Public NotInheritable Class AppInstallerManager
Vererbung
Object Platform::Object IInspectable AppInstallerManager
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 11 (eingeführt in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v14.0)

Methoden

ClearAutoUpdateSettings(String)

Entfernt alle gespeicherten Automatisch-Update-Informationen vollständig aus dem Paket.

GetDefault()

Ruft eine instance von AppInstallerManager mit Standardpriorität ab.

GetForSystem()

Ruft eine instance von AppInstallerManager mit Systempriorität ab.

PauseAutoUpdatesUntil(String, DateTime)

Hält automatische Updates für das angegebene Paket bis zum angegebenen Datum und der angegebenen Uhrzeit an.

SetAutoUpdateSettings(String, AutoUpdateSettingsOptions)

Legt die Einstellungen für die automatische Aktualisierung für das angegebene Paket fest.

Gilt für: