CurrentAppSimulator.LoadListingInformationByProductIdsAsync(IIterable<String>) CurrentAppSimulator.LoadListingInformationByProductIdsAsync(IIterable<String>) CurrentAppSimulator.LoadListingInformationByProductIdsAsync(IIterable<String>) CurrentAppSimulator.LoadListingInformationByProductIdsAsync(IIterable<String>) CurrentAppSimulator.LoadListingInformationByProductIdsAsync(IIterable<String>) Method

Definition

Loads the simulated app listing information asynchronously, returning available in-app products in the ProductListings collection that match any of the given products IDs.

public : static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IIterable<Platform::String> productIds)
static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IIterable<winrt::hstring> productIds) const;
public static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IEnumerable<String> productIds)
Public Shared Function LoadListingInformationByProductIdsAsync(productIds As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)
Windows.ApplicationModel.Store.CurrentAppSimulator.loadListingInformationByProductIdsAsync(productIds).done( /* Your success and error handlers */ );

Parameters

productIds
IEnumerable<String> IEnumerable<String> IEnumerable<String>

The list of product IDs by which to filter the ProductListings collection.

Returns

The simulated app listing information, with ProductListings collection filtered by product IDs. If the method fails, it returns an HRESULT error code. If no in-app products are found that match the given product IDs, the ProductListings collection will be empty.

Remarks

Uses the ListingInformation element in the WindowsStoreProxy.xml file as the data source for the members of the returned objects. For more information, see Using the WindowsStoreProxy.xml file with CurrentAppSimulator.

Calling this method requires an internet connection.