CurrentAppSimulator.LoadListingInformationByProductIdsAsync Méthode

Définition

Charge de manière asynchrone les informations de liste d’applications simulées, en retournant les produits in-app disponibles dans la collection ProductListings qui correspondent à l’un des ID de produits donnés.

public:
 static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationByProductIdsAsync(IIterable<Platform::String ^> ^ productIds);
 static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IIterable<winrt::hstring> const& productIds);
public static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IEnumerable<string> productIds);
function loadListingInformationByProductIdsAsync(productIds)
Public Shared Function LoadListingInformationByProductIdsAsync (productIds As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)

Paramètres

productIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Liste des ID de produit selon lesquels filtrer la collection ProductListings .

Retours

Informations de liste d’applications simulées, avec la collection ProductListings filtrée par ID de produit. Si la méthode échoue, elle retourne un code d’erreur HRESULT . Si aucun produit dans l’application ne correspond aux ID de produit donnés, la collection ProductListings est vide.

Remarques

Utilise l’élément ListingInformation dans le fichier WindowsStoreProxy.xml comme source de données pour les membres des objets retournés. Pour plus d’informations, consultez Utilisation du fichier WindowsStoreProxy.xml avec CurrentAppSimulator.

L’appel de cette méthode nécessite une connexion Internet.

S’applique à