CurrentAppSimulator.LoadListingInformationAsync Method

Definition

Loads the simulated app listing information asynchronously.

The returned ListingInformation object contains listing information (for example, name, price, age rating) specific to the market the user currently resides in. Additionally, listing information for products available via in-app products is also provided.

Note

For simulation purposes, this method uses the element in the WindowsStoreProxy.xml file as the data source for the members of the returned object. For more info, see the code examples 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)

Returns

IAsyncOperation<ListingInformation>

The app listing information as defined by the simulation. If the method fails, it returns an HRESULT error code.

Attributes

Remarks

Calling this method requires an internet connection.

Applies to