Freigeben über


CurrentAppSimulator.LoadListingInformationAsync Methode

Definition

Lädt die simulierten App-Listeninformationen asynchron.

Das zurückgegebene ListingInformation-Objekt enthält Listeninformationen (z. B. Name, Preis, Altersfreigabe), die für den Markt, in dem sich der Benutzer derzeit befindet, spezifisch sind. Darüber hinaus werden auch Listeninformationen für Produkte bereitgestellt, die über In-App-Produkte verfügbar sind.

Hinweis

Zu Simulationszwecken verwendet diese Methode das -Element in der WindowsStoreProxy.xml-Datei als Datenquelle für die Member des zurückgegebenen Objekts. Weitere Informationen finden Sie in den Codebeispielen in CurrentAppSimulator.

public:
 static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ListingInformation> LoadListingInformationAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ListingInformation> LoadListingInformationAsync();
function loadListingInformationAsync()
Public Shared Function LoadListingInformationAsync () As IAsyncOperation(Of ListingInformation)

Gibt zurück

Die App, die Informationen auflistet, wie in der Simulation definiert. Wenn die Methode fehlschlägt, wird ein HRESULT-Fehlercode zurückgegeben.

Attribute

Hinweise

Für den Aufruf dieser Methode ist eine Internetverbindung erforderlich.

Gilt für: