WalletItemSystemStore Klasse

Definition

Definiert eine Reihe asynchroner Aktionen und Vorgänge, die die Walletelemente in der System-Wallet-Datenbank verwalten. Diese können verwendet werden, um die vorhandenen Elemente zu lesen oder Elemente hinzuzufügen und zu entfernen.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

Rufen Sie die WalletManagerSystem.RequestStoreAsync-Methodeauf, um eine instance dieser Klasse abzurufen.

public ref class WalletItemSystemStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WalletItemSystemStore final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("WalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
class WalletItemSystemStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WalletItemSystemStore
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("WalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public sealed class WalletItemSystemStore
Public NotInheritable Class WalletItemSystemStore
Vererbung
Object Platform::Object IInspectable WalletItemSystemStore
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
walletSystem

Methoden

DeleteAsync(WalletItem)

Entfernt asynchron ein bestimmtes Brieftaschenelement mit der angegebenen ID aus dem Wallet-Systemdatenspeicher.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

GetAppStatusForItem(WalletItem)

Ruft einen WalletItemAppAssociation-Wert ab, der angibt, ob eine App für das angegebene WalletItem installiert ist.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

GetItemsAsync()

Gibt die Sammlung aller Systemtaschenelemente zurück, die dieser App gehören.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

ImportItemAsync(IRandomAccessStreamReference)

Importiert Daten aus einer ".mswallet"-XML-Datei in den Systemtaschenspeicher.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

LaunchAppForItemAsync(WalletItem)

Startet die App, die dem angegebenen Brieftaschenelement zugeordnet ist.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

Ereignisse

ItemsChanged

Tritt auf, wenn Elemente im WalletItemSystemStore geändert wurden.

Hinweis

Diese API ist nicht für alle Windows-Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

Gilt für: