Freigeben über


WalletItemSystemStore.ImportItemAsync(IRandomAccessStreamReference) Methode

Definition

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.

public:
 virtual IAsyncOperation<WalletItem ^> ^ ImportItemAsync(IRandomAccessStreamReference ^ stream) = ImportItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference const& stream);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference const& stream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference stream);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference stream);
function importItemAsync(stream)
Public Function ImportItemAsync (stream As IRandomAccessStreamReference) As IAsyncOperation(Of WalletItem)

Parameter

stream
IRandomAccessStreamReference

Die zu importierende Datei ".mswallet".

Gibt zurück

Ein asynchroner Vorgang, der nach erfolgreichem Abschluss das Brieftaschenelement zurückgibt, das in die Brieftasche importiert wurde. Wenn Sie die asynchrone Programmierung verwenden, ist der Ergebnistyp bei erfolgreicher Fertigstellung ein einzelnes WalletItem.If you use Asynchronous programming, the result type on successful completion is a single WalletItem.

Attribute

Windows-Anforderungen

App-Funktionen
walletSystem

Gilt für: